Skip to main content
POST
cURL
Takes a payment for the pro-forma invoice from the fields under payment. The fields this body takes are not documented yet; the sample shows only the required payment wrapper. The response is not the payment itself: it carries object, payment_id with the new payment’s code, and a message, under payment.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

proforma_id
string
required

The pro-forma invoice's code, which it returns as both id and invoice_id.

Body

application/json
payment
object
required

The payment's fields. They are not documented yet.

Response

201

The new payment's code as payment.payment_id, with object and message.