v1
latestOpenAPI 3.1.02026-07-136388308.2 KBOpen Banking
Get payment details
This endpoint will return the details of a specific open banking payment. You will need to enable PERM_BUSINESS_GET_PAYMENT to use this endpoint.
As your customer goes through the payment submission journey, the payment status will change. The endpoint will return one of the following statuses:
- AWAITING_AUTHORISATION - This is the initial status of all payments, indicating that the user has consented to be directed to their ASPSP/Bank's application. Payments remaining at this status may be considered abandoned.
- AWAITING_MULTI_AUTHORISATION - Some business accounts require dual authorisation for payments.
- NOT_AUTHORISED - This is a final status, and indicates that the payment initiation was cancelled by the customer, rejected by the ASPSP/Bank, an error response returned by the ASPSP/Bank, eg. low balance in the customers account.
- PENDING - The customer has authorised the payment in their app, but their ASPSP/bank may want to carry out an internal check before funding the transaction.
- AUTHORISED - The payment is successfully initiated, having been authorised by your customer and their ASPSP/Bank.
Once the payment is successfully initiated, ie. AUTHORISED, the ASPSP/Bank should settle the funds, which are then applied to your Fire account.
- FUNDS_CONFIRMED - This status is currently available for GBP payments only. The payment has been received by Fire and will be applied to your account in the next file run.
- SETTLED - This is a final status, indicating that funds have been applied to your Fire GBP or EUR account.
get/v2/payments/{paymentUuid}
Path parameters
paymentUuidstring required
The unique id for the transaction.
Example:4ADFB67A-0F5B-4A9A-9D74-34437250045C
Response
The Payment Request details object
Example response
{
"paymentRequestCode": "1234abcd",
"endToEndId": "FIRE1234567890",
"paymentUuid": "4ADFB67A-0F5B-4A9A-9D74-34437250045C",
"relatedPaymentUuid": "4ADFB67A-0F5B-4A9A-9D74-34437250045C",
"reason": "Gym Closed for repairs.",
"amountBeforeCharges": 1000,
"feeAmount": 1000,
"amountAfterCharges": 1000,
"currency": {
"code": "EUR",
"description": "Euro"
},
"myRef": "Fees",
"description": "Gym Fees Oct 2020",
"returnUrl": "https://example.com/callback",
"webhookUrl": "https://example.com/webhook",
"relatedAccountTxnId": 41234,
"relatedPayeeId": 41234,
"dateFundsReceived": "2020-10-22T07:48:56.460Z",
"dateCreated": "2020-10-22T07:48:56.460Z",
"lastUpdated": "2019-08-22T07:48:56.460Z",
"orderDetails": {
"merchantNumber": "1234567",
"orderId": "6c28a47d-4502-4111",
"productId": "ZFDAA-1221",
"customerNumber": "123645",
"variableReference": "John Doe",
"comment1": "Additional comments about the transaction",
"comment2": "Additional comments about the transaction",
"merchantCustomerIdentification": "CustNum-303863544",
"deliveryAddressLine1": "12 The Street",
"deliveryAddressLine2": "The Way",
"deliveryCity": "London",
"deliveryPostCode": "EC15155",
"deliveryCountry": "GB"
},
"to": {
"type": "FIRE_ACCOUNT",
"account": {
"account": {
"id": 42,
"alias": "Main Account",
"bic": "CPAYIE2D",
"iban": "IE54CPAY99119911111111",
"nsc": "232221",
"accountNumber": "11111111"
}
}
},
"bank": {
"aspspUuid": "4ADFB67A-0F5B-4A9A-9D74-34437250045C",
"alias": "Demo Bank",
"logoUrl": "https://assets.fire.com/pisp/demo.svg",
"country": {
"code": "GB",
"description": "United Kingdom"
},
"currency": {
"code": "EUR",
"description": "Euro"
},
"dateCreated": "2019-08-22T07:48:56.460Z",
"lastUpdated": "2019-08-22T07:48:56.460Z"
},
"domesticPaymentId": "sdp-1-66ebd30c-c0e1-4a54-9865-f2a7bfedabcf",
"allowFopReceipt": true
}