Retrieve Payment Consent (by id)

GET {{base_url}}/banking/v2/pay/domestic/consents/:consentId

Payment consents can be retrieved by providing a bankId.

The consent response will include payment details (amount, currency, payment type), consent Id, date and status.

Path parameters

FieldTypeDescription
consentIdstringUnique identifier for the consent

Attributes

FieldTypeDescription
idstringUnique consent id returned by the bank
companyIdstringUnique id for the company
bankIdintegerUnique id for the bank
creationDatedatetimeDate when the consent was created
statusstringStatus of consent {Authorised, AwaitingAuthorisation, Rejected}
currencystringAccount currency
amountintegerPayment amount
typestringPayment type {DOMESTIC}

Error Messages

ConditionResponse StatusResponse Body
Invalid consentId404 Not Found

Request Params

KeyDatatypeRequiredDescription
pageIdnullPage offset of results

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Api-Keystring
X-Partner-Idstring
Authorizationstring
X-Company-Idstring

RESPONSES

status: OK

{"id":"consentId1234","companyId":"companyId1234","amount":"20.00","currency":"GBP","type":"DOMESTIC","bankId":6,"creationDate":"2020-07-30T15:10:38.002Z","status":"AWAITINGAUTHORISATION"}