Skip to main content

Payment

A Payment represents a set of transactions linked to the same payment act.

This payment act can be initiated:

  • either from a user
  • either from a merchant
  • either from you
  • either from Swan
type Payment {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
statusInfo: PaymentStatusInfo!
transactions(
first: Int! = 50
after: String
orderBy: TransactionsOrderByInput
filters: TransactionsFiltersInput
): TransactionConnection
standingOrder: StandingOrder
}

Fields

Payment.id ● ID! non-null scalar

unique identifier of a payment

Payment.createdAt ● DateTime! non-null scalar

created date

Payment.updatedAt ● DateTime! non-null scalar

updated date

Payment.statusInfo ● PaymentStatusInfo! non-null interface

status information

Payment.transactions ● TransactionConnection object

list of transactions associated to this payment

Implements the Relay Connection interface, used to paginate list of element (Learn More)

Payment.transactions.first ● Int! non-null scalar

the number of elements to load (default value 50, maximum: 100)

Payment.transactions.after ● String scalar

the index (a unique reference in string form) from which you will load the following elements

Payment.transactions.orderBy ● TransactionsOrderByInput input

an order you can apply to your list of connections (default value UpdatedAt desc)

Payment.transactions.filters ● TransactionsFiltersInput input

a filtering table you can apply to your list of connections

Payment.standingOrder ● StandingOrder object

standing order that has initiated this payment

Returned by

payment query

Member Of

CardTransaction object ● CheckTransaction object ● FeeTransaction object ● InitiateCheckMerchantPaymentSuccessPayload object ● InitiateCreditTransfersSuccessPayload object ● InitiateFundingRequestSuccessPayload object ● InitiateInternationalCreditTransferResponseSuccessPayload object ● InitiateMerchantPaymentCollectionSuccessPayload object ● InternalCreditTransfer object ● InternalDirectDebitTransaction object ● InternationalCreditTransferTransaction object ● PaymentEdge object ● SEPACreditTransferTransaction object ● SEPADirectDebitTransaction object ● Transaction interface