Skip to main content

Payment details

Endpoint to obtain the details of a payment.

GET - https://url.base/api/payment/data/{uid}
Parameters
Path
FieldTypeDescription
*uidStringThe identifier must be provided as part of the endpoint as indicated in the path.

Response success

{
"uid": [string] // Transaction identifier
"status": [string] // Transaction status
"amount": [integer] // Transaction amount
"method": [string] // Payment method used
"reference": [string] // Transaction reference
"clientEmail": [string] // Client's email address
"clientDocument": [string] // Client's DNI number
"order": [string] // Payment identifier to associate
"currency": [string] // ISO currency code
"country": [string] // International country format
"method_type": [string] // Method type
"method_detail": [string] // Method detail
"hash": [string] // Security hash parameter
"sing": [string] // Signature of the parameters

}

Status response

ResponseDetails
200 - 201: OKSuccessful request
400: Bad Requestinvalid ID provided
404: Not Foundpayment not found