POST ProcessAuthorization
The ProcesssAuthorization call allows for pre-authorized, validated charges to be processed or voided on your schedule.
Access URL: https://rest.everyware.com/api/Default/ProcessAuthorization
ProcessAuthorization Parameters
Parameter | Description | Required/Not |
---|---|---|
TransactionID | The InvoiceID from CreatePayment or CreateInvoice response. You can also find this in the Everyware portal Process Authorizations page table in the InvoiceID column. | REQUIRED |
ChargeType | Void: Releases an authorized transaction Capture: Charches the authorized transaction | REQUIRED |
Amount | Amount to charge or void. | REQUIRED |
ProcessAuthorization Sample Codes
Capture Sample
{
"TransactionID": "ch_3Ja1hfAawEMtODxF1hl11Sta",
"ChargeType": "Capture",
"Amount": "1.00"
}
{
"IsSuccess": true,
"Message": "The credit card has been accepted.",
"Data": "ch_3Ja1hfAawEMtODxF1hl11Sta",
"OrderNumber": null
}
Void Sample
{
"TransactionID": "ch_3JaTxbAawEMtODxF1m7CbS8Q",
"ChargeType": "Void",
"Amount": "1.00"
}
{
"IsSuccess": true,
"Message": "The transaction has been voided.",
"Data": null,
"OrderNumber": null
}
Updated about 1 month ago