Response Parameters
Authorize API reference
See reference information for Authorize API response parameters below.
Find Authorize API sample code in Authorize.
status
statusParent: root
The status element is required, and it has the following attributes:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
code | Integer | Required | A status code for the authorizing processes. Some possible values:
|
sub-code | Integer | Conditional Requirement: Required for a failed authorization | The granular error code that shows the reason for a failed authorization. |
The status element has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| status | String | Required | The status description. If the authorization succeeded, the description is Payment authorized. If the authorization failed, the description corresponds to sub-code's granular error code. |
web-method
web-methodParent: root
The web-method element is required when 3-D Secure 2.0 (3DS) verification is required for authorization. It has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| web method | String | Conditional Requirement: Mandatory for the first Authorize response in a 3DS workflow. | JS/HTML that the front-end application should use to collect verification. See the 3DS integration guide for more information. Applicable to 3DS authentication. |
ddc-expiry
ddc-expiryParent: root
The ddc-expiry element is required during a 3DS flow when DDC is needed for authorization. It has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| DDC expiry time | Integer | Conditional Requirement: Mandatory when DDC is required. | The expiry time in milliseconds. If verification takes more time than this, the front-end application should send a timeout request. See the 3DS integration guide for more information. Applicable to 3DS authentication with DDC. |
return-url
return-urlParent: root
The return-url element is required when 3DS verification is needed for authorization. It has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| return URL | String | Conditional Requirement: Mandatory in a 3DS workflow. | The absolute URL to the back office of a merchant where Velocity POP sends the payment status. Note: If you do not provide this parameter, Velocity uses the default URL. Applicable to 3DS authentication. |
card-mask
card-maskParent: root
The card-mask element is required when 3DS verification is needed for authorization. It has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| masked card number | String | Conditional Requirement: Mandatory in a 3DS workflow. | The masked card number of the payment card sent in the Authorize request. Applicable to 3DS authentication. |
expiry
expiryParent: root
The expiry element is required when 3DS verification is needed for authorization. It has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| card expiry | String | Conditional Requirement: Mandatory in a 3DS workflow. | The payment card expiration date sent in the Authorize request. Applicable to 3DS authentication. |
token
tokenParent: root
The token element is required during a 3DS challenge flow. It has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| token | String | Conditional Requirement: Mandatory in a 3DS challenge flow. | Applicable to a 3DS challenge flow. |
parsed-challenge
parsed-challengeParent: root
Please note:
- The
parsed-challengeelement is optional for a 3DS challenge flow. - The
parsed-challengeelement has one child:action. - The
actionelement has the following children:url,hidden-fields, andconfiguration-fields. See their descriptions below.
The action element has the following attribute:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
type-id | Integer | Optional | A numeric code for the type of challenge required for 3DS verification. Applicable to a 3DS challenge flow. |
url
urlParents: root: parsed-challenge: action
The url element is optional for a 3DS challenge flow. It has the following attributes:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
content-type | String | Optional | The content type sent for the challenge. Applicable to a 3DS challenge flow. |
method | String | Optional | The method for the challenge. Applicable to a 3DS challenge flow. |
The url element has the following text content:
| Parameter | Format | Requirement | Description |
|---|---|---|---|
| URL | String | Optional | The target URL for the challenge field. Applicable to a 3DS challenge flow. |
hidden-fields
hidden-fieldsParents: root: parsed-challenge: action
The hidden-fields element is optional for a 3DS challenge flow. It may have multiple children; each child element provides data for one hidden field.
configuration-fields
configuration-fieldsParents: root: parsed-challenge: action
The configuration-fields element is optional for a 3DS challenge flow; it provides information to configure the challenge field.
The configuration-fields element can have the following children:
| Element | Requirement | Format of text content | Description of text content |
|---|---|---|---|
iframe | Optional | Boolean | If true, the challenge field is an iframe.Applicable to a 3DS challenge flow. |
height | Optional | Integer | The height of the challenge field in pixels. Applicable to a 3DS challenge flow. |
width | Optional | Integer | The width of the challenge field in pixels. Applicable to a 3DS challenge flow. |
device_collection_status
device_collection_statusParent: root
Please note:
- The
device_collection_statuselement is optional for a 3DS challenge flow; it describes the status of any previous DDC attempts. - The
device_collection_statuselement has one child:status. See its description below.
status
statusParents: root: device_collection_status
The status element is optional for a 3DS challenge flow; it describes the status of a previous DDC attempt. It has the following children:
| Element | Requirement | Format of text content | Description of text content |
|---|---|---|---|
code | Optional | Integer | The status code of the DDC flow. Applicable to a 3DS challenge flow. |
description | Optional | String | The status description of the DDC flow. Applicable to a 3DS challenge flow. |
Updated 5 months ago
