Process API
Utilize our Partner Payment Gateways to accept popular wallets such as PayPal, Venmo, Google Pay, and Apple Pay. When integrating with Partner Payment Gateways, utilize both the 'process' endpoint (fo
curl -X POST -H "Content-Type: application/json" -d '{
"merchantNo": "202333",
"paymentMethod": "credit_card",
"partnerGatewayID": "partner123456789",
"storeNo": "301854",
"transactionNo": "297553640378707470",
"verifySign": "893fd2c61aebbfd9b1f4543afb727063"
}' https://mapi.yuansfer.com/creditpay/v3/process
Parameter | Type | Description |
---|---|---|
partnerGatewayID | string | Required- It is a one-time-use reference ID of the payment method, provided by partner gateway |
merchantNo | string | Required- A unique value created and assigned by Pockyt’s support team during the onboarding process |
paymentMethod | string | Required- Identifier of the wallet type being used |
storeNo | string | Required- A unique value created and assigned by Pockyt’s support team during the onboarding process |
transactionNo | string | Required-The ID of the transaction stored in the Pockyt system |
verifySign | string | Required-The parameter signature; used for authenticating and authorizing transaction requests |
{
"result":
{
"reference": "a6d19b881699dfea0c8b78e91bc64d42",
"amount": "22.00",
"supUserid": "[email protected]",
"transactionNo": "302589410330531000",
"vendorId": "a902q221",
"currency": "USD",
"paymentTime": "2021-01-22T19:23:00Z",
"status": "success"
},
"ret_msg": "success",
"ret_code": "000100"
}
Parameter | Type | Description |
---|---|---|
reference | string | The Invoice Number of the transaction in the merchant's system |
amount | number | The transaction amount |
supUserid | string | Encrypted wallet username or credit card number |
transactionNo | string | The ID of the transaction in the Pockyt system |
vendorId | string | The providers transaction ID |
currency | string | The supported transaction currency is "USD". |
paymentTime | string | The date and time when the transaction was created. Format : yyyy-MM-dd'T'HH:mm:ss'Z'. |
status | string | The status of the transaction |
Last modified 5mo ago