Wed, 06/29/2016 - 03:14
#1
How to pass 'reference_no' and 'customer_ref' in Payeezy Authorize API?
Hi Team,
While viewing transactions, there are two columns 'Ref Num' and 'Cust. Ref Num'. I want pass some specific values like Ref Num='1001' and Cust. Ref = 'Florida' through Payeezy Authorize API, So that I can identify those transactions.
Can you please help on how to pass 'reference_no' and 'customer_ref' in Payeezy Authorize API?
Thanks,
GG
Hi Bob,
The merchant_ref field maps to the Reference Num field on the gateway.
The "customer_ref" field maps to the Customer Reference field on the gateway. This can be used by adding soft descriptors to your payload.
Example:
{
"merchant_ref": "Astonishing-Sale",
"transaction_type": "authorize",
"method": "credit_card",
"amount": "1299",
"currency_code": "USD",
"credit_card": {
"type": "visa",
"cardholder_name": "John Smith",
"card_number": "4788250000028291",
"exp_date": "1020",
"cvv": "123"
},
"level2": {
"customer_ref": "ABC"
}
}
You can find more information on level2 and level3 fields on this page - https://developer.payeezy.com/payeezy-api/apis/post/transactions-3 under the section titled Resource summary.
Regards,
Payeezy team