This endpoint is used to retrieve payment details with the Transaction ID (transId).
- Testhttps://test.computop-paygate.com/api/v2/payments/getByTransId/{id}
- Productionhttps://www.computop-paygate.com/api/v2/payments/getByTransId/{id}
curl -i -X GET \
-u '<username>:<password>' \
'https://test.computop-paygate.com/api/v2/payments/getByTransId/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Successful operation
Language code to determine the language of the payment form and customer communication where applicable.
Short, clear description of the transaction that appears on the customer's statement. It is recommend sending a maximum of 22 characters. Allowed characters: a-z, A-Z, 0-9, spaces, and special characters / - ? : ( ) . , +
Object specifying SubMerchant (Payment Facilitator) details.
A unique identifier assigned by Computop Paygate to the payment. This ID remains constant throughout the lifecycle of the payment and is used to track and reference the payment across all subsequent operations, such as authorization, capture, refund, or cancellation.
A unique identifier assigned by Computop Paygate for each operation in the payment. For example: xId will be different for the authorization and capture operations of a payment whereas payId will be same.
Your unique reference number for the specific operation. You can pass this value to reconcile different operations in a payment (authorization, capture, refund, etc) individually.
A collection of additional custom data provided by you to store extra information about the transaction. This is a set of JSON key value pairs passed by you. Paygate will return the data as it is in the response.
{ "payId": "ed7773c09f314c45b2a0de47a1994e1d", "xId": "86a8198cc9da4b4d9fbcdb15a5ddd6ca", "transId": "20240103-121913-554", "merchantId": "MerchantIdTest", "status": "OK", "responseCode": "00000000", "responseDescription": "success", "refNr": "refNr01", "metadata": { "userData": "my user data", "plain": "some plain text", "key1": "value1", "key2": "value2" }, "paymentMethods": { "type": "ALIPAY", "alipay": { … } } }