Hello All,
I want to pass my custom order number in invoiceNumber in Json token, I am using Node js and
"createTransactionRequest": {
"merchantAuthentication": {
"name": apiLoginID,
"transactionKey": transactionKey
},
"refId": "123456",
"transactionRequest": {
"transactionType": "authCaptureTransaction",
"amount": data.amount,
"payment": {
"opaqueData": data.opaqueData
},
"order": {
invoiceNumber: "INV-12345",
"description": "Product description",
},
"profile": {createProfile: true},
"customer": {
type: 'individual',
id: order.GP_customer,
"email" : order.email
},
"billTo": {
"firstName": order.billing_first_name,
"lastName": order.billing_last_name,
"company": order.billing_company,
"address": order.billing_street + order.billing_street_2,
"city": order.billing_city,
"state": order.billing_state,
"zip": order.billing_zip,
"country": order.billing_country
}
}
}
08-09-2020 10:07 PM