Create Invoice

Generating payment requests for all coins accepted

post
Create Invoice

https://api.anypayinc.com/invoices
The most important operative action to take in Anypay as a business, request payment from customers.
Request
Response
Request
Headers
Authentication
required
string
Basic auth with access token uid as username
Body Parameters
currency
required
string
Digital currency to collect ie BCH, DASH, BSV
amount
required
number
amount in terms of denomination ie USD, AUS, TBH
redirect_url
optional
string
redirect web app users to this URL after payment
webhook_url
optional
string
URL to receive webhook POST notification on payment
external_id
optional
string
external identifier to coordinate with your system
Response
200: OK
Cake successfully retrieved.
{ "name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}
404: Not Found
Could not find a cake matching this query.
{ "message": "Ain't no cake like that."}

‚Äč