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

Débito Inmediato

Use this endpoint to create a Débito Inmediato checkout payment in Venezuela. After the payment request is created, redirect the customer to the returned web_url to select a bank and complete the payment.

Payments are confirmed in real time after the customer completes the payment. Transaction limits vary by bank.

Endpoint

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

Request headers

Header
Required
Description

Content-Type

Yes

Fixed value: application/json; charset=UTF-8.

Authorization

Yes

Basic authentication using Base64(app_id:security_key).

Request body

Parameter
Type
Required
Constraints
Description

app_id

string

Yes

Use the App ID assigned by Pagsmile.

Merchant application ID.

out_trade_no

string

Yes

Maximum length: 64 characters. Must be unique for the merchant application.

Merchant order number.

order_currency

string

Yes

Fixed value: VES.

Payment currency.

method

string

Yes

Fixed value: DebitoInmediato.

Payment method.

order_amount

decimal

Yes

Supports up to two decimal places. Transaction limits vary by bank.

Payment amount in VES.

subject

string

Yes

Maximum length: 128 characters.

Payment subject or order title.

trade_type

string

Yes

Fixed value: Web.

Indicates that the payment is completed on the Pagsmile checkout page.

content

string

No

Maximum length: 255 characters.

Payment description or order details.

timestamp

string

Yes

Format: yyyy-MM-dd HH:mm:ss.

Time at which the request is sent.

notify_url

string

Yes

Must be a valid URL beginning with http:// or https://. HTTPS is recommended.

Merchant endpoint that receives asynchronous payment notifications.

buyer_id

string

Yes

Maximum length: 128 characters.

Merchant-side customer ID.

version

string

No

Default value: 2.0.

API version.

timeout_express

string

No

Use a positive integer followed by m, h, or d, such as 90m, 24h, or 15d. The effective validity period is from 1 minute to 15 days. Default: 90m.

Payment session validity period.

Request example

Response example

Complete the payment

  1. Redirect the customer to the complete web_url returned by Pagsmile.

  2. Allow the customer to select a supported bank and complete the payment on the checkout page.

  3. Use the payment notification or the Payin Detail API to determine the final payment status.

Last updated