Skip to main content
POST
/
api
/
v1
/
credit-card
/
{id}
/
payments
Registrar pago a tarjeta de credito
curl --request POST \
  --url https://api.raul.ugps.io/api/v1/credit-card/{id}/payments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 50000,
  "payment_date": "2026-01-19",
  "bank_account_id": "uuid-de-cuenta-bancaria",
  "reference": "PAG-2026-001",
  "notes": "Pago parcial mensual",
  "is_total_payment": false
}
'

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

Body

application/json
amount
number
required

Monto a pagar

Example:

50000

payment_date
string
required

Fecha del pago

Example:

"2026-01-19"

bank_account_id
string

ID de la cuenta bancaria origen (opcional si es efectivo)

Example:

"uuid-de-cuenta-bancaria"

reference
string

Referencia o numero de comprobante

Example:

"PAG-2026-001"

notes
string

Notas adicionales

Example:

"Pago parcial mensual"

is_total_payment
boolean

Indica si es un pago total (salda la tarjeta)

Example:

false

Response

Pago registrado exitosamente