Skip to main content
A payment debits a customer’s Broco balance and credits a merchant after the customer authorizes it in Broco. Guide: Broco Pay.

The payment object

Create a payment

POST /v1/payments
Request
Response

Retrieve a payment

GET /v1/payments/{id}
Request
Response
Fee values are examples.

Cancel a payment

POST /v1/payments/{id}/cancel Cancels a pending payment. Returns the payment with status canceled. Fails with invalid_status if the payment is final.
Request

Events

Errors

invalid_request, invalid_amount, unsupported_currency, currency_mismatch, connection_not_authorized, idempotency_key_reused, invalid_status. See Errors & retries.