# Payment Messages

## GraphQL partial SDLs

This is a graphql reference page. In the llms.txt variant, those components link to the shared partial SDL key list instead of trying to resolve inline GraphQL reference content.

Fetch all available partial SDL keys first:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:returnTypesList
```

Then fetch the one or more relevant partial SDL with a key from that list by calling the same endpoint with a schema ID:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:schema:<key>
```

The response body is a JSON object keyed by the requested content ID. For example, the key-list request returns a `ctp:gql-sphere:returnTypesList` field and a schema request returns a `ctp:gql-sphere:schema:<key>` field.

**GraphQL output types for Messages that represent a change or an action performed on a Payment or Payment Method.**

Each type on this page implements [MessagePayload](/api/graphql/messages.md#messagepayload) and is returned in the `payload` field of a [Message](/api/graphql/messages.md#message). For when each Message is generated, see [Payment Messages](/api/projects/messages/payment-messages.md).

## Payment Messages

### PaymentCreated

[fetch SDL for type PaymentCreated](#graphql-partial-sdls).

### PaymentInteractionAdded

[fetch SDL for type PaymentInteractionAdded](#graphql-partial-sdls).

### PaymentTransactionAdded

[fetch SDL for type PaymentTransactionAdded](#graphql-partial-sdls).

### PaymentTransactionStateChanged

[fetch SDL for type PaymentTransactionStateChanged](#graphql-partial-sdls).

### PaymentTransactionInterfaceIdSet

[fetch SDL for type PaymentTransactionInterfaceIdSet](#graphql-partial-sdls).

### PaymentStatusStateTransition

[fetch SDL for type PaymentStatusStateTransition](#graphql-partial-sdls).

### PaymentStatusInterfaceCodeSet

[fetch SDL for type PaymentStatusInterfaceCodeSet](#graphql-partial-sdls).

### PaymentInterfaceIdSet

[fetch SDL for type PaymentInterfaceIdSet](#graphql-partial-sdls).

### PaymentMethodInfoInterfaceSet

[fetch SDL for type PaymentMethodInfoInterfaceSet](#graphql-partial-sdls).

### PaymentMethodInfoMethodSet

[fetch SDL for type PaymentMethodInfoMethodSet](#graphql-partial-sdls).

### PaymentMethodInfoNameSet

[fetch SDL for type PaymentMethodInfoNameSet](#graphql-partial-sdls).

### PaymentMethodInfoTokenSet

[fetch SDL for type PaymentMethodInfoTokenSet](#graphql-partial-sdls).

### PaymentMethodInfoInterfaceAccountSet

[fetch SDL for type PaymentMethodInfoInterfaceAccountSet](#graphql-partial-sdls).

### PaymentMethodInfoCustomTypeSet

[fetch SDL for type PaymentMethodInfoCustomTypeSet](#graphql-partial-sdls).

### PaymentMethodInfoCustomTypeRemoved

[fetch SDL for type PaymentMethodInfoCustomTypeRemoved](#graphql-partial-sdls).

### PaymentMethodInfoCustomFieldAdded

[fetch SDL for type PaymentMethodInfoCustomFieldAdded](#graphql-partial-sdls).

### PaymentMethodInfoCustomFieldChanged

[fetch SDL for type PaymentMethodInfoCustomFieldChanged](#graphql-partial-sdls).

### PaymentMethodInfoCustomFieldRemoved

[fetch SDL for type PaymentMethodInfoCustomFieldRemoved](#graphql-partial-sdls).

## Payment Method Messages

### PaymentMethodCreated

[fetch SDL for type PaymentMethodCreated](#graphql-partial-sdls).

### PaymentMethodDeleted

[fetch SDL for type PaymentMethodDeleted](#graphql-partial-sdls).

### PaymentMethodDefaultSet

[fetch SDL for type PaymentMethodDefaultSet](#graphql-partial-sdls).

### PaymentMethodInterfaceAccountSet

[fetch SDL for type PaymentMethodInterfaceAccountSet](#graphql-partial-sdls).

### PaymentMethodPaymentInterfaceSet

[fetch SDL for type PaymentMethodPaymentInterfaceSet](#graphql-partial-sdls).

### PaymentMethodMethodSet

[fetch SDL for type PaymentMethodMethodSet](#graphql-partial-sdls).

### PaymentMethodKeySet

[fetch SDL for type PaymentMethodKeySet](#graphql-partial-sdls).

### PaymentMethodNameSet

[fetch SDL for type PaymentMethodNameSet](#graphql-partial-sdls).

### PaymentMethodPaymentMethodStatusSet

[fetch SDL for type PaymentMethodPaymentMethodStatusSet](#graphql-partial-sdls).

### PaymentMethodCustomTypeSet

[fetch SDL for type PaymentMethodCustomTypeSet](#graphql-partial-sdls).

### PaymentMethodCustomTypeRemoved

[fetch SDL for type PaymentMethodCustomTypeRemoved](#graphql-partial-sdls).

### PaymentMethodCustomFieldAdded

[fetch SDL for type PaymentMethodCustomFieldAdded](#graphql-partial-sdls).

### PaymentMethodCustomFieldChanged

[fetch SDL for type PaymentMethodCustomFieldChanged](#graphql-partial-sdls).

### PaymentMethodCustomFieldRemoved

[fetch SDL for type PaymentMethodCustomFieldRemoved](#graphql-partial-sdls).

## Related pages

- [Area overview page with navigation](/api.md)
- [Previous page: REST](/api/projects/messages/payment-messages.md)
- [Search documentation and API specs](/search.md)