Retrieve Payments
GET {{base_url}}/banking/v2/pay/payments/
The 'Retrieve payment' endpoint can be used to retrieve a particular payment using the bank id and payment id.
Attributes
Field | Type | Description |
---|---|---|
id | string | Unique identifier for the payment |
bankId | integer | Unique identifier for the bank |
companyId | string | Unique identifier for the company |
consentId | string | Unique identifier for the consent |
creditor | JSON object | Creditor information |
creditor -> schemeName | string | IBAN or Account and sort code |
creditor -> identification | string | Creditor's account details |
creditor -> name | string | Creditor name |
amount | integer | Balance amount |
currency | string | Account currency |
reference | string | Transaction reference |
type | string | Payment type {DOMESTICSCHEDULED,DOMESTIC-STANDINGORDER, DOMESTIC-PAYMENT,INTERNATIONAL-SCHEDULED, INTERNATIONAL-STANDINGORDER, INTERNATIONAL-PAYMENT} |
creationDate | datetime | Date and time of the transaction |
remittanceInfo | string | Partner Id is sent in order to reconcile payment with AIS transaction |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-Api-Key | string | ||
X-Partner-Id | string | ||
Authorization | string | ||
X-Company-Id | string |
RESPONSES
status: OK
{"results":[{"id":"paymentId1234","consentId":"consentId3456","bankId":6,"companyId":"companyId1234","type":"DOMESTIC","status":"PENDING","amount":"25.00","currency":"GBP","reference":"reference","creditor":{"schemeName":"UK.OBIE.SortCodeAccountNumber","identification":"11223301234567","name":"Creditor name"},"creationDate":"2020-10-27T10:02:37Z","remittanceInfo":"partnerId1234"}],"links":{}}