curl --request POST \
--url https://api.revolv3.com/api/Payments/sale \
--header 'Content-Type: application/json-patch+json' \
--data '{
"networkProcessing": {
"processingType": 1,
"originalNetworkTransactionId": null
},
"paymentMethod": {
"paymentMethodTypes": [
1
],
"billingAddress": {
"addressId": null,
"addressLine1": "100 Main",
"addressLine2": null,
"city": "Santa Ana",
"state": "CA",
"postalCode": "91111",
"phoneNumber": null,
"email": null,
"country": "US"
},
"creditCard": {
"paymentAccountNumber": "4111111111111111",
"expirationDate": "1025",
"securityCode": null,
"networkToken": null,
"processingMethodType": 5
},
"ach": null,
"googlePay": null,
"applePay": null,
"merchantPaymentMethodRefId": null,
"billingFirstName": "Joe",
"billingLastName": "Doe",
"billingFullName": null
},
"customerId": 1,
"includeRawProcessorResponse": false,
"invoice": {
"merchantInvoiceRefId": "123456789",
"orderProcessingChannel": null,
"amount": {
"currency": 1,
"value": 30.99
}
},
"dynamicDescriptor": null
}'