Make Payment

This endpoint extends the original make_payment API endpoint to allow asynchronous processing. Clients may optionally supply a wait parameter to have the server wait up to 30 seconds for a response from internal business systems. If a response has been received in that time, it is returned immediately. Otherwise status information and links are returned. Calling the status link returns the item response if available, status information otherwise. Clients may also optionally supply a callback URL in URL-encoded format. The path parameters {item}, {account} and {uuid} are supported. If a callback is present, the system POSTs the internal business system response to it.

Path Params
string
required

ID of item to apply payment to

Body Params
string
required
Defaults to 725cc8c0-759b-0138-5d6d-0a58a9feac05

Account id of the bank account/credit card, etc making payment (not user id)

string
Defaults to 358277090995038

Device Information for the device initiating the payment. This must be provided for card payments.

string
Defaults to 49.192.154.141

IP Information for the device initiating the payment. This must be provided for card payments.

integer
Defaults to 15

Time in seconds to wait for item response (up to 30). If this value is not provided, it will defaul to 0 and the call will go asynchronously.

string
Defaults to https%3A%2F%2Fcallback.example.com%2Fassembly%2F%7Bitem%7D%2F%7Baccount%7D%2F%7Buuid%7D

Address to callback when an internal business system response is received. Path parameters {account} {item} and {uuid} may be used. The value must be URL-encoded. The example value shown here represents the URL https://callback.example.com/assembly/{item}/{account}/{uuid}

Responses

400

Missing or invalid item ID or account ID

401

Invalid authentication header

409

Duplicate request conflict

503

The end point handling your request has received an interrupt or terminate signal. Please try again.

Language
Credentials
:
URL
Response
Choose an example:
application/json