Reusing the PaymentMethod
To reuse a PaymentMehtodId or PaymentMethodAuthorizationId, replace the PaymentMethod object with the Id
FirstName and LastName are still required
https://api.revolv3.com/api/Invoices/Payment
{
"FirstName": "Robert",
"LastName": "Podlesni",
"MerchantCustomerRefId": "",
"PaymentMethodId": 123,
"Invoice": {
"MerchantInvoiceRefId": "",
"InvoiceLineItems": [
{
"InvoiceLineItemId": 0,
"Name": "One Time Charge",
"Description": "Test for $2.01 PaymentMethodId",
"Value": 2.01,
"ValueType": "Standard"
}
]
}
{
"FirstName": "Robert",
"LastName": "Podlesni",
"MerchantCustomerRefId": "",
"PaymentMethodAuthorizationId": 456,
"Invoice": {
"MerchantInvoiceRefId": "",
"InvoiceLineItems": [
{
"InvoiceLineItemId": 0,
"Name": "One Time Charge",
"Description": "Test for $2.01 PaymentMethodAuthorizationId",
"Value": 2.01,
"ValueType": "Standard"
}
]
}
Updated 3 months ago