API reference
Objects
The objects the API returns, with every field. The endpoint pages link here.
Invoice
idstring (uuid)object"invoice"livemodebooleantypestringValues:
choicefixedstatusstringValues:
pendingpartialpaidoverpaidexpiredcancelledtokenstring· nullableamountstring· nullablepaid_amountstringremaining_amountstring· nullableoverpaid_amountstringunderpaid_amountstringprice_amountstring· nullableprice_currencystring· nullablerate_usdstring· nullableallowed_tokensarray<string>network_feestringfee_paid_by_customerbooleancommission_addedstringorder_idstring· nullabledescriptionstring· nullablemetadataobjectaddressstring· nullablepayment_urlstringsuccess_urlstring· nullablereturn_urlstring· nullablecallback_urlstring· nullablepayment_link_idnumber· nullablecustomer_emailstring· nullablepayerobject· nullableWhat the payer entered on a payment link
namestring· nullablenotestring· nullable
expires_atstringpaid_atstring· nullablecreated_atstringpaymentsarray<object>idstringtxidstringtokenstringamountstringfromstring· nullablestatusstringconfirmationsnumberlatebooleanrepricedobject· nullableprevious_amountstringamountstringrate_usdstring
usd_valuestring· nullableblock_numbernumber· nullableblock_timestring· nullablesimulatedbooleancreated_atstring
PaymentLink
idnumberobject"payment_link"livemodebooleanslugstringurlstringqr_svg_urlstringqr_png_urlstringqr_card_urlstringtitlestringkindstringValues:
fixedopenprice_usdstring· nullablemin_usdstring· nullablemax_usdstring· nullablesuggested_amountsarray<string>descriptionstring· nullabletokensarray<string>· nullablesuccess_urlstring· nullablefee_paid_by_customerboolean· nullableactivebooleanexpires_atstring· nullableNo new payment is started after this time
max_usesnumber· nullableHow many invoices may be paid or be open in all
askobjectWhat the payer is asked for before paying
namestringValues:
offoptionalrequiredemailstringValues:
offoptionalrequirednotestringValues:
offoptionalrequirednote_labelstring· nullable
archived_atstring· nullablestatsobjectusesnumberpaid_countnumberpaid_usdstring
created_atstring
Withdrawal
idstringobject"withdrawal"statusstringValues:
pending_reviewqueuedprocessingcompletedfailedrejectedsourcestringtokenstringamountstringfeestringto_addressstringidempotency_keystring· nullablenotestring· nullablerefund_ofstring· nullableThe invoice this withdrawal pays back
txidstring· nullableerrorstring· nullablefailure_codestring· nullableStable reason behind
errorwhile the withdrawal waits for review or after it failedValues:
merchant_not_foundmerchant_suspendedmerchant_not_activemerchant_frozensecurity_lockaddress_lockpaid_transaction_foundpaid_by_handdestination_screenedsigner_per_tx_limitsigner_refusedbroadcast_rejectedfailed_on_chainpayout_errorrejected_in_reviewcreated_atstringcompleted_atstring· nullable
Report
idstring (uuid)object"report"livemodebooleankindstringformatstringValues:
csvxlsxpdflangstringstatusstringValues:
pendingprocessingreadyfailedfiltersobjectfromstring· nullabletostring· nullablestatusarray<string>
row_countnumber· nullablefilenamestring· nullabledownload_urlstring· nullableAuthenticated with the same API key; set once
statusisready.created_atstringcompleted_atstring· nullableexpires_atstringThe file is deleted after this time.