Developer Discussions

Ask a Question
Back to All

Credit Card Payment Using Maya Vault

Reference:
https://developers.maya.ph/docs/credit-card-payment-using-maya-vault

  1. Can you give a sample for this ?
    customerPurchaseDataWithPaymentTokenId

  2. Once you have obtained the paymentTokenId, your application should pass your customer's checkout details. << which field?

  3. endpoints
    const createPaymentUrl = 'https://pg-sandbox.paymaya.com/payments/v1/payments'

Kept getting this error :
error: 'Invalid endpoint. Please check if you are accessing the correct endpoint/resource.',
code: 'K004',
reference: 'a5f3226d-7059-45e9-a8b1-17b0722184d3'