Pre-requisite: To pay using a linked Maya Wallet, you must implement the Link a Maya Wallet .
Overview
Use the Pay with Maya to allow customers to use their linked Maya wallet to pay for their purchases.
Leverage Pay with Maya to perform:
- Passwordless payments. Once linked, customers can use their Maya account for payment seamlessly.
API Sequence
Learn the API sequence and transaction flow of Pay using a Linked Maya Wallet.
- The customer initiates payment using the linked Maya Wallet in the API Consumer’s application.
- API Consumer triggers Execute Wallet Link Payment endpoint of Pay with Maya API.
- Pay with Maya API processes the payment.
- Pay with Maya API responds with the payment result to the API Consumer.
- API consumer notifies the customer of the status of the payment.
- If webhook is implemented for Pay using Linked Maya Wallet :
- After processing payment, Pay with Maya API sends a webhook notification to the API Consumer regarding the updates on the payment status.
- API Consumer acknowledges the receipt by returning the
200 OK
. - API Consumer parses and processes the webhook payload received.
Build your Integration
Execute Payment
Create payment using the Maya Wallet Link.
To make a payment using the linked Maya wallet, use the linkId
and call Execute Wallet Link Payment providing the necessary payment details. This endpoint will return the transaction result.
📖
Create Payment using Maya Wallet Link
Open Recipe
Endpoints
The following are the Pay with Maya endpoints for the Pay using a Linked Maya Wallet.
Name | HTTP Method | Key Type | Endpoint | Description |
---|---|---|---|---|
Execute Wallet Link Payment | POST | SECRET | /payby/v2/paymaya/link/{linkId}/execute | Used to execute a payment transaction using an established wallet link. |