Skip to main content
POST
Create payment

Authorizations

api-key
string
header
required

API key provista por Payana.

Body

application/json

Payment payload

beneficiary_reference
string
required

Referencia (UUID) del beneficiario.

amount
integer
required
Required range: x >= 1
amount_currency
enum<string>
required
Available options:
USD,
COP,
MXN,
EUR
file_path
string<uri>
required
payable_payload
object
required
exchange_rate
number | null
exchange_currency
enum<string> | null
Available options:
USD,
COP,
MXN,
EUR

Response

Payment created

reference
string
beneficiary
object | null
email
string | null
document
object | null

Documento fuente del pago cuando el payable está vinculado a un documento (p. ej. factura sincronizada desde la DIAN/SAT). Es null en pagos manuales o anticipos sin documento asociado.

amount
number
amount_currency
enum<string>
Available options:
USD,
COP,
MXN,
EUR
exchange_amount
number | null
exchange_currency
enum<string> | null
Available options:
USD,
COP,
MXN,
EUR
exchange_rate
number | null
status
enum<string>

Estado del pago: pending (creado, sin procesar), in_process (en procesamiento), processed (acreditado) o failed (rechazado).

Available options:
pending,
in_process,
processed,
failed
file_path
string | null
receipt_file_path
string | null
is_archived
boolean
payable
object | null
batch
object | null
tags
object[]
source_of_fund
object | null
accounting_receipt
object | null
paid_at
string<date-time> | null
payment_method
string | null
payment_gateway
string | null
created_at
string<date-time> | null
updated_at
string<date-time> | null