For the complete documentation index, see llms.txt. This page is also available as Markdown.

Wallet

How to use Wallet to submit a payin in Colombia.

Payin by Wallet

POST https://gateway-test.pagsmile.com/trade/pay

This endpoint allows you to submit a payin by Wallet in Colombia.

Headers

Name
Type
Description

Content-Type*

string

application/json; charset=UTF-8

Authorization*

string

Basic authentication using the Base64-encoded value of app_id:security_key.

Request Body

The beneficiary object and all fields within it are optional for Dale, Daviplata, Movii, Nequi, and Rappipay, and are not required for TPaga.

Name
Type
Description

app_id*

string

App ID assigned to the merchant application at dashboard

- Non-empty; Max. 32 chars -

method*

string

Payment method

- Fixed value: Wallet -

channel*

string

Wallet type

- TPaga, Dale, Daviplata, Movii, Nequi, Rappipay -

order_currency*

string

Payment currency

- Fixed value: COP (3 chars) -

order_amount*

string

Payment amount

- Integer only (TPaga: 1~2,000,000; Dale, Daviplata, Movii, Nequi, Rappipay: 1,000~10,000,000); check here for limits -

out_trade_no*

string

Unique ID given by the merchant in their system

- Non-blank; Max. 64 chars -

content

string

Payment reason detail or item detail

- Optional; Max. 255 chars -

timestamp*

string

Request time in yyyy-MM-dd HH:mm:ss format

- Max. 19 chars -

notify_url*

string

Where Pagsmile will send notification to

- Non-blank; valid HTTP/HTTPS URL -

subject*

string

Payment reason or item title

- Non-blank; Max. 128 chars -

buyer_id*

string

Merchant user's ID

- Non-blank; Max. 128 chars -

customer.name*

string

User's full name

- Required; Max. 64 chars -

customer.email*

string

User's email address

- Required; Max. 64 chars -

customer.phone*

string

User's phone number

- Required; Start with "57" (10-digit local number after country code) -

customer.identify.type*

string

User's identification type

- NIT or CC -

customer.identify.number*

string

User's identification number

- NIT: 10 digits, CC: 6~10 digits (Max. 64 chars) -

website_url

string

Merchant website URL

- Optional; Max. 128 chars -

address.zip_code

string

Zip code

- Optional; 6 digits -

address.street*

string

Street address

- Required for Dale, Daviplata, Movii, Nequi, Rappipay (Max. 64 chars); Not required for TPaga -

address.street_number

string

Street number

- Optional; string -

address.city

string

City

- Optional; string -

address.state

string

State or department

- Optional; string -

return_url

string

Redirect to Merchant's URL when user finished checkout

- Optional; valid HTTP/HTTPS URL -

beneficiary.entity_type

string

Beneficiary entity type. Available values: individual or company

- Optional for Dale, Daviplata, Movii, Nequi, Rappipay; Not required for TPaga -

beneficiary.identification.type

string

Beneficiary identification type, e.g., NIT

- Optional for Dale, Daviplata, Movii, Nequi, Rappipay; Not required for TPaga -

beneficiary.identification.number

string

Beneficiary identification number (Max. 64 chars)

- Optional for Dale, Daviplata, Movii, Nequi, Rappipay; Not required for TPaga -

beneficiary.name

string

Beneficiary's full legal name (non-empty when overriding default beneficiary info)

- Optional for Dale, Daviplata, Movii, Nequi, Rappipay; Not required for TPaga -

beneficiary.industry.type

string

Industry classification system. Available values: CIIU, MCC, CNAE, SCIAN, or GB/T

- Optional for Dale, Daviplata, Movii, Nequi, Rappipay; Not required for TPaga -

beneficiary.industry.code

string

Industry code under the classification system specified by beneficiary.industry.type, e.g., 4711

- Optional for Dale, Daviplata, Movii, Nequi, Rappipay; Not required for TPaga -

Request Sample

Response

Last updated