2. Authorize Transaction
Authorize a payment for a given quote. The final step for processing a transaction. Requires that you've already obtained a quote that's still active.
Last updated
Authorize a payment for a given quote. The final step for processing a transaction. Requires that you've already obtained a quote that's still active.
Last updated
POST Request to {Endpoint}/pay/submit
submit can only be called once a quote has been generated and is active, meaning that was generated within 10 minutes of the request to authorize a payment.
When a payment is authorized for a given quote, the user's billing information is processed for the orderTotal amount generated in getQuote.
token
string
ipAddress
string
(required) User's ip address
email
string
(required) user's email address
phone
string
(optional) user's phone
referenceID
string
(optional) External Customer reference ID to allow you to organize and keep track of customers in your system
paymentInformation
Object
See below for interface
There are 3 possible categories of responses for this request. You can determine the category by referring to the state
field. The categories are the following:
Approval
Completed transactions. Digital Asset is actively being generated.
Refused
Transactions that have been declined/refused. Responses will include refusal reasons in the reason
field and also potentially provide additional error codes in the additionalErrorCode
field.
Error
Refused transactions will include a reason
field in the object, which will provide information with regards why a transaction was refused.
(required) Quote token generated in
A problem has occurred with the request. You can utilize information in the error
field response to troubleshoot the error. Additionally, refer to the to identify errors by their HTTP status code.
Error responses will have "state": "ERROR"
along with a HTTP status code that is between 400 and 600. Refer to the page for more information.