Create Single Payment

Creates a single payment transaction using a Maya account.

For Basic Authentication, use PUBLIC API KEY. Learn more

Recipes
📖
Create Single Payment using Maya Wallet
Open Recipe
Body Params
totalAmount
object
required

Contains the value and currency of the transaction.

redirectUrl
object
required

Contains a list of redirect URLs of the merchant for specific events.

string
required
length between 1 and 36

The merchant's reference number for the transaction. It is strongly advised that the merchant provide unique value for this property for each transaction.

string

The email or phone that identifies the PayMaya consumer account that is expected to fulfill the transaction.
When this is provided, the payer will not be able to change the PayMaya account username in the login page.

metadata
object

Used to provide additional data to the transaction such a payment faciliator information.

Response

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json