Paytec Asset Gateway API
  • Introduction
  • Initial Setup
  • Integration and Function Flow
    • 1. Request a Quote
      • Get Quote Error Codes
    • 2. Authorize Transaction
      • Simulating Refused Transactions
      • Authorize Transaction Error Codes
    • 4. Get Details (Optional)
      • Get Details Error Codes
  • Webhooks
    • Setting up Webhooks
      • Provision an endpoint
      • Receiving and Acknowledging webhooks
      • Testing Webhooks
    • Example Callbacks
      • 3D Secure Webhooks
  • Direct Deposit
Powered by GitBook
On this page
  • POST Request to {Endpoint}/pay/getDetails
  • JSON Body Parameters:
  • JSON Body Request Example:
  • JSON Success Response (Status Code 200)
  1. Integration and Function Flow

4. Get Details (Optional)

Get Details allows you to reference an existing previous transaction and obtain it's details.

POST Request to {Endpoint}/pay/getDetails

JSON Body Parameters:

Parameter
Type
Details

trxID

String

trxID provided in response to the payment authorization request.

JSON Body Request Example:

{
    "trxID": "1009793" 
}

JSON Success Response (Status Code 200)

{
    "success": true,
    "data": {
        "trxID": "1009793",
        "subtotalAmount": 11.1,
        "totalAmount": 11.1,
        "state": "APPROVED",
        "address": "0x4241D89139f68D126Ed40b63152Fe767F439c554"
    }
}

PreviousAuthorize Transaction Error CodesNextGet Details Error Codes

Last updated 1 year ago