Crear un nuevo link de pago
Changed onGenera un link de pago para redirigir a tus clientes al servicio de Checkout de Clip en donde pueden completar su pago de manera segura y rápida.
Request
- Base URLhttps://api.payclip.com/v2
- URLhttps://api.payclip.com/v2/checkout
- AuthAPI key in header Authorization
Request body
Example request
{
"override_settings": {
"merchant_info": {
"show_contact_info": true
}
},
"metadata": {
"external_reference": "OID123456789",
"customer_info": {
"name": "Juan Lopez",
"email": "ejemplo@mail.com",
"phone": 5512345678
},
"shipping_address": {
"zip_code": "03800A",
"street": "Av Uno",
"outdoor_number": "104A",
"interior_number": "203B",
"locality": "San Pedro",
"city": "Benito Juárez",
"state": "Ciudad de México",
"country": "México",
"reference": "Edificio gris",
"between_streets": "Entre calle 13 y calle 9",
"floor": "2B"
},
"billing_address": {
"zip_code": "03800A",
"street": "Av Uno",
"outdoor_number": "104A",
"interior_number": "203B",
"locality": "San Pedro",
"city": "Benito Juárez",
"state": "Ciudad de México",
"country": "México",
"reference": "Edificio gris",
"between_streets": "Entre calle 13 y calle 9",
"floor": "2B"
}
},
"custom_payment_options": {
"international_enabled": true
},
"webhook_url": "https://hook.us1.make.com/k5f98kqxuuxgn4td6hgejrnu6lsi362p"
}Response
OK
Example response
{
"payment_request_id": "2cbf5775-1cdd-4601-9712-c4a6ab7fa6f5",
"object_type": "payment_link",
"status": "CHECKOUT_CREATED",
"last_status_message": "Payment request is active",
"created_at": "2020-04-30T00:00:00.000Z",
"payment_request_url": "https://completa-tu-pago.payclip.com/2cbf5775-1cdd-4601-9712-c4a6ab7fa6f5",
"modified_at": "2020-04-30T00:00:00.000Z",
"expired_at": "2020-04-30T00:00:00.000Z",
"qr_image_url": "https://qr.payclip.com/2cbf5775-1cdd-4601-9712-c4a6ab7fa6f5",
"api_version": "2"
}Changes
- breaking
removed the enum value
https://my-website.com/redirection/error?me_reference_id=OID123456789of the request property/ - breaking
removed the enum value
https://my-website.com/redirection/success?me_reference_id=OID123456789of the request property/ - 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 request property
// - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - 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
added the new optional request property
- info
added the new optional request property
// - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new
https://my-website.com/redirection/error?external_reference=OID123456789enum value to the request property/ - info
added the new
https://my-website.com/redirection/success?external_reference=OID123456789enum value to the request property/ - 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 - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking