GET POST

/transaction/create

Allows you to create a transaction.

Query Params / Form Data

key string required
abcdefghijklmnopqrstuvwxyz0123

Contains your API key.
Get it from here.

amount decimal
100.00

The amount of the transaction in the selected currency.
This value must be in the currency specified by the `currency` parameter.
Worth between 0.1 and 1,000,000 USD. Omit it for an open-ended transaction.

currency string required with amount

The currency of the transaction.

allowed_payment_methods string
ppl,aave-erc20,aave-spl,ada-bep20,bch,bnb,bonk-spl,btc,btcb-bep20,btt-trc20

A comma-separated list of allowed payment methods for this transaction.
If only one payment method is allowed the payment method selection dialog will be skipped at checkout.
Up to 25 entries, each of which must exist on your account.

webhook string
https://example.com/status

The URL to notify when a transaction event occurs.
More info about webhooks can be found here.

Response JSON

status string required

Indicates the result of the API request.
For more details about error handling, check here.

transaction_id string required
abcdefghijklmnopqrstuvwxyz0123

The unique ID for the created transaction. It is public.

private_key string required
abcdefghijklmnopqrstuvwxyz0123

A private key associated with the transaction. Keep it private - it is both the cancellation credential and the webhook signing secret, and it is returned exactly once, here.

expires integer required
1754006400

When the transaction stops being payable, in Unix seconds. Always 24 hours after creation.

GET POST

/transaction/setpaymentmethod

Allows you to set the payment method for an existing transaction.

Query Params / Form Data

transaction_id string required
abcdefghijklmnopqrstuvwxyz0123

The unique ID for the transaction to be updated.

payment_method string required

The payment method to be set for the transaction.

Response JSON

status string required

Indicates the result of the API request.
For more details about error handling, check here.

payment object required
address, currency, topay, paid, rate

The payment instructions that were just minted - the receiving address or PayPal email, what the buyer owes and in which currency, and the locked-in rate.
This is the same object /transaction/info returns, so there is no need to call that endpoint afterwards just to learn the address.

GET POST

/transaction/cancel

Allows you to cancel a pending transaction.
Cancelling requires proof of ownership: your API key, or the transaction's private_key. Anything else is a 403. Cancelling is final - nothing revisits a cancelled transaction, so funds sent to the address afterwards will not settle.

Query Params / Form Data

transaction_id string required
abcdefghijklmnopqrstuvwxyz0123

The unique ID for the transaction to be cancelled.

private_key string
abcdefghijklmnopqrstuvwxyz0123

The transaction's private key. An alternative to authenticating with your API key - this is the credential a buyer-facing checkout holds.

Response JSON

status string required

Indicates the result of the API request.
For more details about error handling, check here.

GET POST

/transaction/info

Allows you to retrieve information about a transaction.

Query Params / Form Data

key string
abcdefghijklmnopqrstuvwxyz0123

Optional API key for accessing private transaction information.
If not provided, only public information will be returned.

transaction_id string required
abcdefghijklmnopqrstuvwxyz0123

The unique ID for the transaction whose information is to be retrieved.

Response JSON

status string required

Indicates the result of the API request.
For more details about error handling, check here.

uid string required
abcdefghijklmnopqrstuvwxyz0123

The unique ID of the transaction.

seller_id string required
abcdefghijklmnopqrstuvwxyz0123

The ID of the seller involved in the transaction.

status string required

The current status of the transaction.

amount_topay decimal required
100.00

The total amount of the transaction that needs to be paid.

amount_paid decimal required
100.00

The amount already paid for the transaction.

currency string required
USD

The currency used for the transaction.

allowed_payment_methods array
["ppl", "aave-erc20", "aave-spl", "ada-bep20", "bch", "bnb", "bonk-spl", "btc", "btcb-bep20", "btt-trc20"]

An array of allowed payment methods for this transaction.

created timestamp required
1622899200

The timestamp when the transaction was created.

expires timestamp required
1623580800

The expiration timestamp of the transaction.

cancelled timestamp
1623000000

The timestamp when the transaction was cancelled, if applicable.

completed timestamp
1623010000

The timestamp when the transaction was completed, if applicable.

payment object
payment method specific

Payment details associated with the transaction, if applicable.

private_key string required with api key
abcdefghijklmnopqrstuvwxyz0123

A private key associated with the transaction.
Only returned if a valid API key was provided.

webhook string optional with api key
https://yourdomain.com/webhook

The URL of the webhook to notify when the status changes.
Only returned if a valid API key was provided.