Links

Invoices

Use the endpoints below to create work with invoices as a partner on behalf of the companies you integrate with. The request should be signed with your Partner API Secret value.
For more information:
post
<api>
/integration/partner/invoices
Create an invoice for a partner company
Creates a new invoice for a specific amount, token, and company.
Parameters
Header
x-api-key*
string
API Key
x-api-sig*
string
Signature created using API Secret
x-api-ts*
string
Timestamp of the request
Body
metadata
string
Custom metadata for invoice
amount*
string
Amount in tokens, e.g "100.12 btBUSD"
expiresAt*
string
Date/time when invoice expires (in ISO 8601 format)
companyId*
string
Id of the partner's company
Responses
200
Successful response
You can get invoice details and status using the method below.
get
<api>
/integration/partner/invoices/<id>
Get invoice
Returns the invoice details by id.
Parameters
Path
id*
string
Invoice Id (uuid)
Responses
200
Successful response
Last modified 3mo ago