Status Payment Request
URL
GET
/merchant-api/v2/status/{paymentRequestId}
HTTP response codes
200
- Successful operation401
- Unauthorized, maybe the credentials are missing. For more information, see security403
- Forbidden, the HMAC may be wrong or out of date. For more information, see security404
- Payment request for given ID does not exist
Response
Attribute | Type | Length | Description |
---|---|---|---|
paymentRequestId required | String | 36 | A unique number for this payment request transaction. It`s a UUID |
paymentMethod required | String | 2000 | The original payment method. Can be used for extra verification on the merchant's side |
requestedPaymentAmount required | Integer | The original requested amount in euro cents. Can be used for extra verification on the merchant's side | |
decision required | Enum String | The current decision of the paymentRequest. See decision | |
decisionDateTime required | String | Date of the current decision. Format yyyy-mm-ddThh:mi:ss.SSSZ In UTC timezone. Example: 2018-11-06T09:41:25.020Z | |
transactionId required | String | 100 | A reference provided by the caller. Can be used for extra verification on the merchant's side |
merchantRequestReference required | String | 100 | A unique reference provided by the merchant. Can be used for extra verification on the merchant's side |
errorCode | String | Error code (indication of the nature of the error). List of error codes needs to be decided | |
additionalData | String | 255 | Additional info for the payment request. Possibly a reject reason or error message |
Example
Response
{
paymentRequestId: '01234567-aaaa-bbbb-cccc-987654321abc',
paymentMethod: 'Credit',
requestedPaymentAmount: 90000,
decision: 'Accepted'
decisionDateTime: '2020-02-02T09:40:00.020Z',
transactionId: 'unique-xxxxxxxxxxxxxxxxxxxx',
merchantRequestReference: 'xxxxxxxxxxxxxxxx'
}