Skip to main content
GET
/
v1
/
stores
/
{store}
/
payments
/
{payment}
Get payment
curl --request GET \
  --url https://api.confiopagos.com/v1/stores/{store}/payments/{payment} \
  --header 'Authorization: Bearer <token>'
{
  "amountCents": 5000000,
  "currencyCode": "COP",
  "title": "Juguete",
  "description": "Juguete increíble",
  "buyer": {
    "firstName": "Santiago",
    "phoneNumber": "+573215786325",
    "email": "[email protected]"
  },
  "name": "stores/01JNRRDZDPH40DB2YRW329BFXM/payments/01JNRVWWHH68E76V3TMFFT6GHJ",
  "status": "AWAITING_PAYMENT",
  "organization": "organizations/01JNRR1NY8MDX4XCGG0N4F06X3",
  "url": "https://checkout.confiopagos.com/p/01JNV8CSHNN933B09T5MTNK89V",
  "correlationId": "36285414",
  "enabledPaymentMethods": [
    "PSE",
    "CARD",
    "NEQUI",
    "BANCOLOMBIA"
  ],
  "paymentType": "PRODUCT",
  "redirectUri": "https://example.com/payment-status",
  "courier": "Coordinadora",
  "trackingNumber": "453265",
  "disableBuyerNotification": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

payment
string
required

The unique identifier of the payment.

Example:

"zrj3pok3ikbx"

store
string
required

The unique identifier of the store.

Example:

"waxhsjr47zsl"

Response

200 - application/json

Successfully fetched payment.

amountCents
number
required

Amount in cents

Required range: x >= 1000000
Example:

5000000

currencyCode
string
required

Currency code

Example:

"COP"

title
string
required

Payment title

Example:

"Juguete"

description
string
required

Payment description (at least 24 characters)

Example:

"Juguete increíble"

buyer
object
required
name
string
required

Payment's resource name

Example:

"stores/01JNRRDZDPH40DB2YRW329BFXM/payments/01JNRVWWHH68E76V3TMFFT6GHJ"

status
enum<string>
required

Payment status

Available options:
STATUS_UNSPECIFIED,
AWAITING_PAYMENT,
PAYMENT_IN_PROGRESS,
FUNDED,
DELIVERING,
UNDER_REVIEW,
APPROVED,
DISPUTED,
REFUNDED,
EXPIRED,
CANCELED,
FAILED
Example:

"AWAITING_PAYMENT"

organization
string
required

Organization's resource name

Example:

"organizations/01JNRR1NY8MDX4XCGG0N4F06X3"

url
string
required

Payment link

Example:

"https://checkout.confiopagos.com/p/01JNV8CSHNN933B09T5MTNK89V"

correlationId
string

Your internal payment/order ID for tracking and correlation. Use this to match Confío payments with your system's orders.

Example:

"36285414"

enabledPaymentMethods
enum<string>[]

Optional list of payment methods to enable for this payment. If omitted, all available methods are shown.

Available options:
PSE,
CARD,
BANCOLOMBIA,
NEQUI
Example:
["PSE", "CARD", "NEQUI", "BANCOLOMBIA"]
paymentType
enum<string>
default:PRODUCT

Payment type: 'PRODUCT' or 'SERVICE', default is 'PRODUCT'

Available options:
PRODUCT,
SERVICE
Example:

"PRODUCT"

redirectUri
string<uri>

Redirect URI after payment creation

Example:

"https://example.com/payment-status"

courier
string

Name of the courier service used for delivery (optional)

Example:

"Coordinadora"

trackingNumber
string

Courier tracking number for delivery (optional)

Example:

"453265"

disableBuyerNotification
boolean
default:false

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.

Example:

false