Braintree Payments
Utilize Braintree to accept wallets such as PayPal, Venmo, Google Pay, and Apple Pay. When integrating with Braintree, use both 'process' (found below) and 'secure-pay' (Yuansfer Checkout).
Process
POST
https://mapi.yuansfer.com/creditpay/v3/process
Path Parameters
Name | Type | Description |
---|---|---|
paymentMethodNonce* | string | ID of the payment method. A single token used for each single payment. |
merchantNo* | string | Merchant ID |
paymentMethod* | string | Identifier of the wallet type being used. |
storeNo* | string | Store ID |
transactionNo* | string | The ID of the transaction in the Yuansfer system. |
verifySign* | string | The parameter signature. |
Response
Parameter | Type | Description |
result | object | The result object. |
ret_msg | string | The response return message. |
ret_code | string | The response return code. For more details, see here. |
Result Object
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 Yuansfer 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. |
Payment Methods
Wallet | Value |
Credit Card | credit_card |
PayPal | paypal_account |
Google Pay | android_pay_card |
Apple Pay | apple_pay_card |
Last updated