Skip to main content

PaymentInitiationRequest

A request to pay an amount to a beneficiary.

type PaymentInitiationRequest implements Node {
id: ID!
url: URL!
created: Date!
updated: Date!
amount: Money!
userReference: String! @deprecated
payerReference: String!
payerInformation: PayerInformation
beneficiaryReference: String!
externalReference: String
merchant: String
beneficiaries: [Beneficiary!]!
state: PaymentInitiationRequestState!
paymentConfirmation: PaymentConfirmation
settlement: Settlement
payerConstraints: PayerConstraints
refunds: [Refund!]!
expireAt: Date
events: [PaymentInitiationRequestEvent!]!
restrictPayerBank: PayerBankId
paymentMethods: [PaymentMethodOptions!]
metadata: Json
}

Fields

PaymentInitiationRequest.id ● ID! non-null scalar

PaymentInitiationRequest.url ● URL! non-null scalar

PaymentInitiationRequest.created ● Date! non-null scalar

PaymentInitiationRequest.updated ● Date! non-null scalar

PaymentInitiationRequest.amount ● Money! non-null scalar

PaymentInitiationRequest.userReference ● String! deprecated non-null scalar

⚠️ DEPRECATED

This field will be removed in a future release, please use payerReference instead.

The payment reference that will appear on the user's statement

PaymentInitiationRequest.payerReference ● String! non-null scalar

The payment reference that will appear on the user's statement

PaymentInitiationRequest.payerInformation ● PayerInformation object

KYC information for the payer supplied by the client.

PaymentInitiationRequest.beneficiaryReference ● String! non-null scalar

The payment reference that will appear on the beneficiary's statement

PaymentInitiationRequest.externalReference ● String scalar

Optional reference field that will be present with the redirect query parameters when the payment is completed.

PaymentInitiationRequest.merchant ● String scalar

The name or unique identifier for the merchant

PaymentInitiationRequest.beneficiaries ● [Beneficiary!]! non-null union

The list of beneficiaries used for the payment. The single beneficiary actually paid is in the PaymentSucceeded state

PaymentInitiationRequest.state ● PaymentInitiationRequestState! non-null union

PaymentInitiationRequest.paymentConfirmation ● PaymentConfirmation union

This field indicates the state of the payment relative to the Stitch intermediary account. If your client is not configured with an intermediary account, this field will remain null.

PaymentInitiationRequest.settlement ● Settlement object

A settlement represents a payout made to a client bank account.

PaymentInitiationRequest.payerConstraints ● PayerConstraints union

PaymentInitiationRequest.refunds ● [Refund!]! non-null object

PaymentInitiationRequest.expireAt ● Date scalar

Optional Date (ISO 8601) input used to set an expiry on a payment

PaymentInitiationRequest.events ● [PaymentInitiationRequestEvent!]! non-null interface

PaymentInitiationRequest.restrictPayerBank ● PayerBankId enum

Optional BankId used to restrict the bank a user may pay from.

PaymentInitiationRequest.paymentMethods ● [PaymentMethodOptions!] list union

PaymentInitiationRequest.metadata ● Json scalar

Optional metadata associated with the payment initiation request

Interfaces

Node interface

An abstract datatype that has a locally unique identifier, allowing a given node to be later queried by id using the node(id: ID!) query.