HomeGuidesAPI Reference
Log In

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": "",
  "EntityUseCode": null,
  "PaymentMethodId": 123,
  "Invoice": {  
		"MerchantInvoiceRefId": "",  
		"EntityUseCode": null,  
		"InvoiceLineItems": [  
			{  
				"InvoiceLineItemId": 0,  
				"Name": "One Time Charge",  
				"Description": "Test for $2.01 PaymentMethodId",  
				"Value": 2.01,  
				"ValueType": "Standard",  
				"TaxCode": null  
			}  
		]  
	}
{  
  "FirstName": "Robert",  
  "LastName": "Podlesni",  
  "MerchantCustomerRefId": "",  
  "EntityUseCode": null,  
  "PaymentMethodAuthorizationId": 456,  
  "Invoice": {  
		"MerchantInvoiceRefId": "",  
		"EntityUseCode": null,  
		"InvoiceLineItems": [  
			{  
				"InvoiceLineItemId": 0,  
				"Name": "One Time Charge",  
				"Description": "Test for $2.01 PaymentMethodAuthorizationId",  
				"Value": 2.01,  
				"ValueType": "Standard",  
				"TaxCode": null  
			}  
		]  
	}