Tinka

Callback Payment Request

The merchant needs to have an endpoint available where Tinka can send an update of the payment request. The message below is sent to this endpoint in JSON format with a HTTP POST request. The payload is the same as the response for the status request. The request will be signed in the same way a response of a synchronous call is signed. The signature will be sent via a HTTP header: X-Authorization: hmac <hash>:<nonce>:<timestamp> for more information see security.

Request

AttributeTypeLengthDescription
paymentRequestId requiredString36A unique number for this payment request transaction. It`s a UUID
paymentMethod requiredString2000The original payment method. Can be used for extra verification on the merchant's side
requestedPaymentAmount requiredIntegerThe original requested amount in euro cents. Can be used for extra verification on the merchant's side
decision requiredEnum StringThe decision of the paymentRequest. See decision
decisionDateTime requiredStringDate of the decision. Format yyyy-mm-ddThh:mi:ss.SSSZ In UTC timezone. Example: 2018-11-06T09:41:25.020Z
transactionId requiredString100A reference provided by the caller. Can be used for extra verification on the merchant's side
merchantRequestReference requiredString100A unique reference provided by the merchant. Can be used for extra verification on the merchant's side
errorCodeStringError code (indication of the nature of the error). List of error codes needs to be decided
additionalDataString255Additional 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'
}

© 2024 Tinka. All Rights Reserved. All trademarks, service marks and trade names used in this material are the property of their respective owners.