Payment details
Endpoint to obtain the details of a payment.
GET - https://url.base/api/payment/data/{uid}
Parameters
Path
Field | Type | Description |
---|---|---|
*uid | String | The 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
Response | Details |
---|---|
200 - 201: OK | Successful request |
400: Bad Request | invalid ID provided |
404: Not Found | payment not found |