Sale 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/Payments/sale/{paymentMethodId}
{
"NetworkProcessing": {
"processingType": "initialInstallment", //initialRecurring, initialInstallment , installment, recurring, merchantInitiatedCOF, cardholderInitiatedCOF
"originalNetworkTransactionId": null
},
"CustomerId": null, //optional add a customer ID - otherwise no customer is created
"Invoice": {
"MerchantInvoiceRefId": "ABC309500654810",
"Amount": {
"value": 1.03
}
}
}
{
"customerId": null,
"invoiceId": 186011,
"merchantInvoiceRefId": "ABC309500654810",
"merchantPaymentMethodRefId": null,
"networkTransactionId": "583676276256324",
"invoiceStatus": "Paid",
"invoiceAttemptStatus": "Success",
"message": "Approved",
"amount": {
"currency": "USD",
"value": 1.03
},
"paymentMethodId": 6061,
"paymentMethodTypeId": 1
}
Updated 3 months ago