Ir al contenido

Procesa un pago con tarjeta.

POST
/carrito/processPaymentMP
curl --request POST \
--url https://api-nb-dev.blu.net.ar/v1/carrito/processPaymentMP \
--header 'Content-Type: application/json' \
--data '{ "token": "token_generado_en_el_cliente", "issuer_id": "123", "payment_method_id": "visa", "transaction_amount": 12500.5, "installments": 1, "description": "Compra de productos", "savePaymentMethod": 0, "payer": { "email": "comprador@example.test", "clientId": 101, "orderId": 5001, "branch": 1, "identification": { "type": "DNI", "number": 12345678 } } }'
Media typeapplication/json
object
token
required
string format: password
issuer_id
required
string
payment_method_id
required
string
transaction_amount
required
number format: float
installments
required
number
description
required
string
savePaymentMethod
required
integer
<= 1
payer
required
object
email
required
string format: email
clientId
required
number
orderId
required
number
branch
required
number
identification
required
object
type
required
string
number
required
number

Example

{
"type": "DNI",
"number": 12345678
}

Example

{
"email": "comprador@example.test",
"clientId": 101,
"orderId": 5001,
"branch": 1,
"identification": {
"type": "DNI",
"number": 12345678
}
}

Example

{
"token": "token_generado_en_el_cliente",
"issuer_id": "123",
"payment_method_id": "visa",
"transaction_amount": 12500.5,
"installments": 1,
"description": "Compra de productos",
"savePaymentMethod": 0,
"payer": {
"email": "comprador@example.test",
"clientId": 101,
"orderId": 5001,
"branch": 1,
"identification": {
"type": "DNI",
"number": 12345678
}
}
}

Resultado del pago.

Media typeapplication/json
object
id
required
status
required
string
status_detail
required
string
status_detail_convert
required
string
date_approved
required
payment_method_id
required
string
payment_type_id
required
string

Example

{
"id": 123456,
"status": "approved",
"status_detail": "accredited",
"status_detail_convert": "Pago aprobado",
"date_approved": "2026-01-15T10:30:00.000-03:00",
"payment_method_id": "visa",
"payment_type_id": "credit_card"
}

No fue posible procesar el pago.

Media typeapplication/json
object
error_message
required
string

Example

{
"error_message": "No fue posible procesar el pago."
}

NB Conecta · Integraciones New Bytes

Copyright © 2026 New Bytes

Powered byBlu