Payment request

Generate a new payment request

Create a new payment request with a specified amount, redirecting to the given url

post/payments/request

Request

  • Base URL
    https://public-api.alternativepayments.io
  • URL
    https://public-api.alternativepayments.io/payments/request
  • Auth
    OAuth 2
    Client credentials
    Token URL: /oauth/token scopes: payments:write

Request body

amountstring
redirect_urlstring
reference_idstring

Example request

{
  "amount": "100",
  "redirect_url": "https://example.com/redirect",
  "reference_id": "1234567890"
}

Response

OK

idstring
redirect_urlstring
reference_idstring
statusstring
urlstring

Changes

No recorded changes to this operation across all 7 revisions of this API.