Consulta el estado de un link de pago
Changed onConsulta el estado de un link de pago.
Request
- Base URLhttps://api.payclip.com/v2
- URLhttps://api.payclip.com/v2/checkout/{payment_request_id}
- AuthAPI key in header Authorization
Path parameters
Identificador del link de pago. <br/>Se genera un nuevo <code>payment_request_id</code> en cada solicitud para Crear un nuevo link de pago.
Response
OK
Example response
{
"metadata": {
"customer_info": {
"phone": 5512345678,
"name": "Alejandro Lee",
"email": "buyer@mail.com"
},
"external_reference": "OID123456789"
},
"amount": 100.55,
"receipt_no": "EyCtYWF",
"object_type": "payment_link",
"created_at": "2020-04-30T00:00:00.000Z",
"expired_at": "2020-04-30T00:00:00.000Z",
"payment_request_id": "2cbf5775-1cdd-4601-9712-c4a6ab7fa6f5",
"purchase_description": "Backpack's sale",
"last_status_message": "Payment request is active",
"payment_request_url": "https://completa-tu-pago.payclip.com/2cbf5775-1cdd-4601-9712-c4a6ab7fa6f5",
"redirection_url": {
"default": "https://my-website.com/redirection/default",
"success": "https://my-website.com/redirection/success?external_reference=OID123456789",
"error": "https://my-website.com/redirection/error?external_reference=OID123456789"
},
"currency": "MXN",
"modified_at": "2020-04-30T00:00:00.000Z",
"status": "CHECKOUT_COMPLETED"
}Changes
- breaking
media type
application/vnd.com.payclip.v2+jsonwas changed to a more general media typeapplication/jsonfor the response status - breaking
media type
application/vnd.com.payclip.v2+jsonwas changed to a more general media typeapplication/jsonfor the response status - breaking
media type
application/vnd.com.payclip.v2+jsonwas changed to a more general media typeapplication/jsonfor the response status - breaking
media type
application/vnd.com.payclip.v2+jsonwas changed to a more general media typeapplication/jsonfor the response status - breaking
media type
application/vnd.com.payclip.v2+jsonwas changed to a more general media typeapplication/jsonfor the response status - breaking
media type
application/vnd.com.payclip.v2+jsonwas changed to a more general media typeapplication/jsonfor the response status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
/from the response with the status - info
removed the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
/to the response with the status
- breaking