Payin updated

Sent when a payin changes status (AWAITINGCOMPLETED, ERROR, EXPIRED, etc.). Set the destination URL using callbackUrl when creating the payment. The body is identical to the Get Payment response.

Payload
string
required

Payment ID

string
enum
required
string
enum
required
number
required

Amount of the payment

string
enum
required
string
enum
Defaults to AWAITING
Allowed:
boolean
Defaults to false

Specifies if the payment can be retried (applicable only to rails that support retries)

date-time

Payment expiration date in UTC (ISO 8601 format)

string

Specifies the URL to which the callback will be sent when the transaction status changes. The callback is sent as a POST request with a JSON body containing the transaction details, using the same schema as the Get Payment endpoint.

string

Specifies the URL to which the user will be redirected after the payment is completed (only applicable if using Infinia's Widget)

string

URL to start the payment flow through Infinia's widget

string

Reference for the payment. If the payment rail supports references, it will be shown to the payer.

account
object
deprecated

Details of the collection account provided by Infinia after onboarding. If not specified, a default account will be used if available. Preferably, use the accountId field instead of this one

string

Account ID

string

Provider ID

date-time
required

Creation date of the payment (ISO 8601 format)

date-time
required

Last update date of the payment (ISO 8601 format)

string | object

Data sended to create payment

payerData
object

Payer data information

string

Voucher ID for the payment

attempts
array of objects
required

List of payment attempts

Attempts*
refunds
array of objects
Defaults to []

List of refunds

Refunds
company
object
required

Information of the company that created the payment

Response
200

Any 2xx response is treated as a successful acknowledgement. Infinia will retry delivery on non-2xx responses.

LoadingLoading…