- Create a Payment Method (generate a PaymentMethodId for future transactions).
- Use an existing Payment Method (reference a stored PaymentMethodId to process payments).
- Creating a Payment Method
API Endpoint for Creating a Payment Method
Sample API Request
| Field | Description |
|---|---|
| BillingAddress | Object containing the customer’s billing address. |
| AddressLine1, AddressLine2, City, State, PostalCode, Country | Full billing address details. |
| BillingFullyName | The full name or company name associated with the billing account. This can be an individual’s first and last name or a single company name. Use standard ASCII characters (letters, numbers, spaces, and hyphens) to ensure compatibility and avoid special UTF-8 characters. |
| CreditCard.PaymentAccountNumber | The credit card number (must be securely transmitted). |
| CreditCard.ExpirationDate | Card expiration date (Format: MMYY). |
| CreditCard.SecurityCode | The CVV/CVC security code for authentication. |
| MerchantPaymentMethodRefId | A unique reference assigned by the merchant for tracking the payment method. |
- Response When Creating a Payment Method
Sample API Response
Explanation of API Response Fields
| Field | Description |
|---|---|
| paymentMethodId | The unique ID assigned to the stored payment method (used for future transactions). |
| billingAddressId | ID assigned to the billing address associated with the payment method. |
| billingAddress | Object containing full billing details. |
| paymentMethodCreditCardDetails.binNumber | The first six digits of the stored card (Bank Identification Number). |
| paymentMethodCreditCardDetails.paymentLast4Digit | The last four digits of the stored card. |
| paymentMethodCreditCardDetails.paymentExpirationDate | The card’s expiration date in MMYY format. |
| merchantPaymentMethodRefId | The merchant-provided reference ID for the payment method. |
- Reusing an Existing Payment Method for a Transaction
API Endpoint for Processing a Payment with a Stored Payment Method
Sample API Request
Explanation of API Request Fields
| Field | Description |
|---|---|
| NetworkProcessing.processingType | Defines the transaction type (initialInstallment, initialRecurring). |
| NetworkProcessing.originalNetworkTransactionId | Used for referencing previous transactions (set to null for new payments). |
| CustomerId | Optional customer identifier (set to null if not used). |
| Invoice.MerchantInvoiceRefId | A unique identifier for tracking the invoice. |
| Invoice.Amount.value | The total transaction amount in USD. |
- Payment Response for a Successful Transaction
Sample API Response
Explanation of API Response Fields
| Field | Description |
|---|---|
| invoiceId | The unique invoice ID generated by Revolv3. |
| merchantInvoiceRefId | The merchant’s reference ID for tracking the invoice. |
| networkTransactionId | The transaction ID assigned by the payment network. |
| invoiceStatus | Status of the invoice (Paid, Pending, Failed). |
| invoiceAttemptStatus | Outcome of the payment attempt (Success, Failed). |
| message | A response message indicating approval or failure reason. |
| amount.currency | The currency of the transaction (USD). |
| amount.value | The total transaction amount processed. |
| paymentMethodId | The stored Payment Method ID used for the transaction. |
| paymentMethodTypeId | The type of payment method. 1= Credit Card; 2= ACH; 3= GooglePay; 4=ApplePay |
- Summary of API Calls
| Action | API Endpoint | Purpose |
|---|---|---|
| Create a Payment Method | POST /api/PaymentMethod | Generates a PaymentMethodId for future transactions. |
| Process a Payment with a Stored Payment Method | POST /api/Payments/sale/ | Charges the stored payment method without requiring full details. |
One Off Payment

