API Reference
Authentication
Creates a new payment that users can then pay
Authorizations
AuthorizationstringRequired
Body
pricing_typestring · enumOptionalPossible values:
local_priceobjectOptionalExample:
{"amount":"10.00","currency":"USD"}metadataobjectOptionalExample:
{"userId":"0xngmi"}redirect_urlstringOptionalExample:
https://mypage.com/successcancel_urlstringOptionalExample:
https://mypage.com/failureResponses
200
Successfully created a payment
application/json
401
Invalid API Key sent on Authorization header
post
/chargesPagination is handled by querying the urls returned in pagination.previous_uri and pagination.next_uri or by using the query parameters ending_before and starting_after directly with payment ids. In other words, to see all results keep querying pagination.next_uri until its null.
Authorizations
AuthorizationstringRequired
Query parameters
starting_afterstringOptional
Optional and for pagination, filters results to those whose id parameters are higher than the id sent
ending_beforestringOptional
Optional and for pagination, filters results to those whose id parameters are lower than the id sent
Responses
200
Array of payments
application/json
get
/charges200
Array of payments
Last updated