We are using following api to charge customer profile.
https://developer.authorize.net/api/reference/#payment-transactions-charge-a-customer-profile
We are unable to find "invoice number" parameter in request. We want to charge customer profile for the invoice.
Can you please let me know, how can I can add the "invoice number" when I request for the charge customer profile?
09-27-2019 04:06 AM
The reference guide seems to have an issue, the json format does not have the order element, but the api certainly accepts it. The XML version shows it.
It would be like this, place the order element after the profile:
<profile>
<customerProfileId>27388924</customerProfileId>
<paymentProfile>
<paymentProfileId>25000332</paymentProfileId>
</paymentProfile>
</profile>
<order>
<invoiceNumber>INV-12345</invoiceNumber>
<description>Product Description</description>
</order>
09-30-2019 05:10 PM