This request allows you to process a payment through ANET.
{
"card": {
"token": "YOUR TOKEN"
},
"transaction": {
"amount": 10.00
},
"metadata": {}
}
Instructions
Secure Payments lets users process card payments with Authorize.net, a payment processor. First, you'll need to Create an Authorize.net Processor. The ID of that processor goes in this request's endpoint. If you forgot the IDs of your processors, use the Get Processors endpoint.
The payload has fields for a Secure Payments card token as well as a payment amount.
For more information, see our article Secure Payments API – Authorize.Net Process Transaction.
Try It Instructions
To get a 200 response from the Try It option, enter the ID for a ANET checking account processor in the Path Params area. Make sure to enter a transaction amount as well as a valid payment profile token in the Body Params section. If you get a 425 response, the payment profile token was invalid or was not for a credit card.
This example uses credentials from our demo account. If you'd like to use a different account, enter values for Authorization and Secret in the Headers section.