Maya's Cash-in can leverage Maya App’s code generation to allow Maya users to do a Cash-in through your platform.
This implementation will require customers to generate the Cash-In Code via their Maya app. It may be represented as a one-time 7-digit code or a bar code generated by the Maya app. This particular code will be crucial in identifying the target wallet account during the transfer transaction.
Discuss your preferred cash-in code with your Maya Relationship Manager.
API Sequence
- The customer requests a Cash-in Code from their Maya App.
- Maya App generates and provides the Cash-in Code.
- The customer goes to the API Consumer’s nearest physical branch or platform providing the Cash-in Code.
- The API Consumer calls the Initiate a Transfer endpoint of Maya Cash-in providing the Cash-in Code.
- Maya Cash-in creates a transfer intent in Maya, uniquely identified by a
transferId
. - Maya Cash-in responds to the API Consumer with the generated
transferId
in Maya. - API Consumer saves the
transferId
. - API Consumer calls Execute Transfer endpoint of Maya Cash-in providing the
transferId
associated with the transfer intent in Maya. - Maya Cash-in processes the transfer intent in Maya.
- If successful, Maya App reflects the transaction and Maya Cash-In responds to the API Consumer.
- If failed, Maya Cash-in notifies the API Consumer.
- If the API Consumer receives an ambiguous error or no response from Maya Cash-in:
- API Consumer calls the Retrieve a Transfer endpoint of Maya Cash-in providing the transferId in Maya.
- Maya Cash-in returns the details of the transfer intent associated with the
transferId
in Maya.
- The API Consumer notifies the customer of the status.
Build your Integration
Initiate and execute a Cash-in via Code
Use the Cash-in Code from Maya to initiate and execute a Cash-in to Maya wallet.
Once the customer has provided the Cash-in Code generated via their Maya app to your application, you may proceed with the following steps.
Step 1: Initiate Transfer
Step 2: Execute Transfer
Endpoints
The following are the endpoints relevant for Cash-in via Code.
Business Rules to Code
Do Maya support bar code for Cash-in?
Answer: Cash-in Code in Maya may be represented as a one-time 7-digit code or a bar code generated by the Maya app. Discuss your preferred cash-in code with your Maya Relationship Manager.
What is the expiry for Cash-in Code?
Answer: Cash-in Code in Maya is only valid for 30 minutes.
Is there an expiry on for transfer intent?
Answer: No expiry is implemented to the transfer intent in Maya. However, please note that a change in this behavior may be imposed in the future.