These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

REST API: Create ComboOrder for Dues payment by Credit Card

Hi There
I was trying to call ComboOrder API for making Dues payment and it works perfectly fine when the payment information is Cash payment

"Payments": {
"$type": "Asi.Soa.Commerce.DataContracts.RemittanceDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Commerce.DataContracts.RemittanceData, Asi.Contracts",
"Amount": {
"$type": "Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts",
"Amount": 590.91,
"Currency": {
"$type": "Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts",
"CurrencyCode": "CAD",
"DecimalPositions": 2,
"ExtensionData": {
"$type": "System.Runtime.Serialization.ExtensionDataObject, System.Runtime.Serialization"
}
},
"IsAmountDefined": true
},
"PaymentMethod": {
"$type": "Asi.Soa.Commerce.DataContracts.PaymentMethodData, Asi.Contracts",
"Name": "VISA",
"PaymentMethodId": "CASH",
"PaymentType": "CASH",
"Message": "VISA"
},
"PayorParty": {
"$type": "Asi.Soa.Commerce.DataContracts.CustomerPartyData, Asi.Contracts",
"PartyId": "650893"
},
"ReferenceNumber": "VISA4564",
"Message": "VISA"
}
]
}

When I provide CC information will the API actually call the payment gateway and change the member?
If so, is there a way to pass CC information but not change the member?
Specifically we would like to pass the Credit Card Type with masked CC and expiration dates but the API complains about CC is invalid.
How to pass this information with the API so that it can be stored in Trans Records?

Thank you