All Release Notes

Fixed type for 'state' field in PaymentStatusDraft

16 March 2023
Composable Commerce
HTTP API
Resolved issue
GraphQLPayments

We changed the type for the state field in PaymentStatusDraft from Reference to ResourceIdentifier allowing you to reference a State by key when creating a new Payment. The HTTP API now behaves as documented, and we aligned the GraphQL API with this behavior also.

Changes:

  • [GraphQL API] Changed the PaymentStatusInput.state input field type from ReferenceInput to ResourceIdentifierInput.