curl --request POST \
--url https://api.confiopagos.com/v1/stores/{store}/payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amountCents": 5000000,
"currencyCode": "COP",
"title": "Juguete",
"description": "Juguete increíble",
"buyer": {
"firstName": "Julián",
"phoneNumber": "+573215786325",
"lastName": "Pérez",
"email": "santiago@example.com"
},
"correlationId": "36285414",
"mediaAssets": [
"https://fastly.picsum.photos/id/1074/1024/1024.jpg?hmac=usAeJI_o3wzbLAca-PMBgHQXXhSoMNP5cvoktlhiUzY",
"https://fastly.picsum.photos/id/506/1024/1024.jpg?hmac=Wa93nuNDFEXWB_Fg4n2vcYT3sGcW7UBTjOAic46R9Gw",
"https://fastly.picsum.photos/id/343/1024/1024.jpg?hmac=WC3PsYGjbqnsQhfu1J1l3PeAzmsGEiZPISXAenRc2Qc"
],
"enabledPaymentMethods": [
"PSE",
"CARD",
"NEQUI",
"BANCOLOMBIA"
],
"paymentType": "PRODUCT",
"redirectUri": "https://example.com/payment-status",
"courier": "Coordinadora",
"trackingNumber": "453265",
"disableBuyerNotification": false,
"discountPercentage": 0.1,
"discountSource": "ty_page_cod_conversion"
}
'{
"amountCents": 5000000,
"currencyCode": "COP",
"title": "Juguete",
"description": "Juguete increíble",
"buyer": {
"firstName": "Julián",
"phoneNumber": "+573215786325",
"lastName": "Pérez",
"email": "santiago@example.com"
},
"name": "stores/01JNRRDZDPH40DB2YRW329BFXM/payments/01JNRVWWHH68E76V3TMFFT6GHJ",
"status": "AWAITING_PAYMENT",
"organization": "organizations/01JNRR1NY8MDX4XCGG0N4F06X3",
"url": "https://checkout.confiopagos.com/p/01JNV8CSHNN933B09T5MTNK89V",
"correlationId": "36285414",
"mediaAssets": [
"https://fastly.picsum.photos/id/1074/1024/1024.jpg?hmac=usAeJI_o3wzbLAca-PMBgHQXXhSoMNP5cvoktlhiUzY",
"https://fastly.picsum.photos/id/506/1024/1024.jpg?hmac=Wa93nuNDFEXWB_Fg4n2vcYT3sGcW7UBTjOAic46R9Gw",
"https://fastly.picsum.photos/id/343/1024/1024.jpg?hmac=WC3PsYGjbqnsQhfu1J1l3PeAzmsGEiZPISXAenRc2Qc"
],
"enabledPaymentMethods": [
"PSE",
"CARD",
"NEQUI",
"BANCOLOMBIA"
],
"paymentType": "PRODUCT",
"redirectUri": "https://example.com/payment-status",
"courier": "Coordinadora",
"trackingNumber": "453265",
"disableBuyerNotification": false,
"discountPercentage": 0.1,
"discountSource": "ty_page_cod_conversion"
}curl --request POST \
--url https://api.confiopagos.com/v1/stores/{store}/payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amountCents": 5000000,
"currencyCode": "COP",
"title": "Juguete",
"description": "Juguete increíble",
"buyer": {
"firstName": "Julián",
"phoneNumber": "+573215786325",
"lastName": "Pérez",
"email": "santiago@example.com"
},
"correlationId": "36285414",
"mediaAssets": [
"https://fastly.picsum.photos/id/1074/1024/1024.jpg?hmac=usAeJI_o3wzbLAca-PMBgHQXXhSoMNP5cvoktlhiUzY",
"https://fastly.picsum.photos/id/506/1024/1024.jpg?hmac=Wa93nuNDFEXWB_Fg4n2vcYT3sGcW7UBTjOAic46R9Gw",
"https://fastly.picsum.photos/id/343/1024/1024.jpg?hmac=WC3PsYGjbqnsQhfu1J1l3PeAzmsGEiZPISXAenRc2Qc"
],
"enabledPaymentMethods": [
"PSE",
"CARD",
"NEQUI",
"BANCOLOMBIA"
],
"paymentType": "PRODUCT",
"redirectUri": "https://example.com/payment-status",
"courier": "Coordinadora",
"trackingNumber": "453265",
"disableBuyerNotification": false,
"discountPercentage": 0.1,
"discountSource": "ty_page_cod_conversion"
}
'{
"amountCents": 5000000,
"currencyCode": "COP",
"title": "Juguete",
"description": "Juguete increíble",
"buyer": {
"firstName": "Julián",
"phoneNumber": "+573215786325",
"lastName": "Pérez",
"email": "santiago@example.com"
},
"name": "stores/01JNRRDZDPH40DB2YRW329BFXM/payments/01JNRVWWHH68E76V3TMFFT6GHJ",
"status": "AWAITING_PAYMENT",
"organization": "organizations/01JNRR1NY8MDX4XCGG0N4F06X3",
"url": "https://checkout.confiopagos.com/p/01JNV8CSHNN933B09T5MTNK89V",
"correlationId": "36285414",
"mediaAssets": [
"https://fastly.picsum.photos/id/1074/1024/1024.jpg?hmac=usAeJI_o3wzbLAca-PMBgHQXXhSoMNP5cvoktlhiUzY",
"https://fastly.picsum.photos/id/506/1024/1024.jpg?hmac=Wa93nuNDFEXWB_Fg4n2vcYT3sGcW7UBTjOAic46R9Gw",
"https://fastly.picsum.photos/id/343/1024/1024.jpg?hmac=WC3PsYGjbqnsQhfu1J1l3PeAzmsGEiZPISXAenRc2Qc"
],
"enabledPaymentMethods": [
"PSE",
"CARD",
"NEQUI",
"BANCOLOMBIA"
],
"paymentType": "PRODUCT",
"redirectUri": "https://example.com/payment-status",
"courier": "Coordinadora",
"trackingNumber": "453265",
"disableBuyerNotification": false,
"discountPercentage": 0.1,
"discountSource": "ty_page_cod_conversion"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"01G65Z755AFWAKHE12NY0CQ9FH"
Amount in cents
x >= 10000005000000
Currency code
"COP"
Payment title
"Juguete"
Payment description (at least 24 characters)
"Juguete increíble"
Show child attributes
Your internal payment/order ID for tracking and correlation. Use this to match Confío payments with your system's orders.
"36285414"
Media assets links (required when paymentType is PRODUCT, max 6 items). Each URL must be a publicly accessible URL from a public server (e.g., your CDN, cloud storage, or any public web server). Allowed formats: PNG, JPEG, JPEG XL, WebP, AVIF, GIF, ICO, SVG, HEIC, BMP, TIFF. Maximum file size: 100MB per file.
6[
"https://fastly.picsum.photos/id/1074/1024/1024.jpg?hmac=usAeJI_o3wzbLAca-PMBgHQXXhSoMNP5cvoktlhiUzY",
"https://fastly.picsum.photos/id/506/1024/1024.jpg?hmac=Wa93nuNDFEXWB_Fg4n2vcYT3sGcW7UBTjOAic46R9Gw",
"https://fastly.picsum.photos/id/343/1024/1024.jpg?hmac=WC3PsYGjbqnsQhfu1J1l3PeAzmsGEiZPISXAenRc2Qc"
]Optional list of payment methods to enable for this payment. If omitted, all available methods are shown.
PSE, CARD, BANCOLOMBIA, NEQUI ["PSE", "CARD", "NEQUI", "BANCOLOMBIA"]Payment type: 'PRODUCT' or 'SERVICE', default is 'PRODUCT'
PRODUCT, SERVICE "PRODUCT"
Redirect URI after payment creation
"https://example.com/payment-status"
Name of the courier service used for delivery (optional)
"Coordinadora"
Courier tracking number for delivery (optional)
"453265"
Disable WhatsApp notification to buyer on payment creation. By default, a notification is sent to the buyer's WhatsApp when a payment is created. Set to true to disable this notification.
false
Discount percentage applied to the payment as decimal (0-1, e.g., 0.35 for 35%).
0 <= x <= 10.1
The source of the discount (e.g., 'ty_page_cod_conversion', 'promo_code', 'referral')
"ty_page_cod_conversion"
Successfully processed creation.
Amount in cents
x >= 10000005000000
Currency code
"COP"
Payment title
"Juguete"
Payment description (at least 24 characters)
"Juguete increíble"
Show child attributes
Payment's resource name
"stores/01JNRRDZDPH40DB2YRW329BFXM/payments/01JNRVWWHH68E76V3TMFFT6GHJ"
Payment status
STATUS_UNSPECIFIED, AWAITING_PAYMENT, PAYMENT_IN_PROGRESS, FUNDED, DELIVERING, UNDER_REVIEW, APPROVED, DISPUTED, REFUNDED, EXPIRED, CANCELED, FAILED "AWAITING_PAYMENT"
Organization's resource name
"organizations/01JNRR1NY8MDX4XCGG0N4F06X3"
Payment link
"https://checkout.confiopagos.com/p/01JNV8CSHNN933B09T5MTNK89V"
Your internal payment/order ID for tracking and correlation. Use this to match Confío payments with your system's orders.
"36285414"
Media assets links (required when paymentType is PRODUCT, max 6 items). Each URL must be a publicly accessible URL from a public server (e.g., your CDN, cloud storage, or any public web server). Allowed formats: PNG, JPEG, JPEG XL, WebP, AVIF, GIF, ICO, SVG, HEIC, BMP, TIFF. Maximum file size: 100MB per file.
6[
"https://fastly.picsum.photos/id/1074/1024/1024.jpg?hmac=usAeJI_o3wzbLAca-PMBgHQXXhSoMNP5cvoktlhiUzY",
"https://fastly.picsum.photos/id/506/1024/1024.jpg?hmac=Wa93nuNDFEXWB_Fg4n2vcYT3sGcW7UBTjOAic46R9Gw",
"https://fastly.picsum.photos/id/343/1024/1024.jpg?hmac=WC3PsYGjbqnsQhfu1J1l3PeAzmsGEiZPISXAenRc2Qc"
]Optional list of payment methods to enable for this payment. If omitted, all available methods are shown.
PSE, CARD, BANCOLOMBIA, NEQUI ["PSE", "CARD", "NEQUI", "BANCOLOMBIA"]Payment type: 'PRODUCT' or 'SERVICE', default is 'PRODUCT'
PRODUCT, SERVICE "PRODUCT"
Redirect URI after payment creation
"https://example.com/payment-status"
Name of the courier service used for delivery (optional)
"Coordinadora"
Courier tracking number for delivery (optional)
"453265"
Disable WhatsApp notification to buyer on payment creation. By default, a notification is sent to the buyer's WhatsApp when a payment is created. Set to true to disable this notification.
false
Discount percentage applied to the payment as decimal (0-1, e.g., 0.35 for 35%).
0 <= x <= 10.1
The source of the discount (e.g., 'ty_page_cod_conversion', 'promo_code', 'referral')
"ty_page_cod_conversion"