Skip to main content

Authorization Request Resources

This page documents the resources related to Authorization Requests. For the complete list of all resources, see Resources.

PurchaseAuthorizationRequest

PurchaseAuthorizationRequest is a JSON:API resource representing a purchase authorization request. Top-level fields:

NameTypeDescription
idstringIdentifier of the authorization request resource.
typestringType of the resource. The value is always purchaseAuthorizationRequest.
attributesJSON ObjectJSON object representing the authorization request data.
relationshipsJSON:API RelationshipsDescribes relationships between the authorization request and other resources.

Attributes

NameTypeDescription
createdAtRFC3339 Date stringThe date the resource was created.
amountintegerThe amount (cents) of the authorization request.
statusstringThe status of the authorization request.
partialApprovalAllowedbooleanWhether partial approval is allowed.
merchantobjectInformation about the merchant.
recurringbooleanWhether this is a recurring authorization.
ecommercebooleanWhether this is an e-commerce transaction.
cardPresentbooleanWhether the card was present.
tagsobjectSee Tags. When the authorization request was auto-completed using the timeout strategy, this field will contain decision_source set to programmatic_timeout_strategy and timeout_strategy set to Approve or Decline.

Relationships

NameTypeDescription
accountJSON:API RelationshipThe Deposit Account.
customerJSON:API RelationshipThe Customer.
cardJSON:API RelationshipThe Card.
Example PurchaseAuthorizationRequest resource:
{
"type": "purchaseAuthorizationRequest",
"id": "1",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"status": "Pending",
"partialApprovalAllowed": false,
"merchant": {
"name": "Merchant name",
"type": "6012",
"id": "311204598883"
},
"recurring": false,
"ecommerce": true,
"cardPresent": false,
"tags": {}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"card": {
"data": {
"type": "card",
"id": "7"
}
}
}
}

CardTransactionAuthorizationRequest

CardTransactionAuthorizationRequest is a JSON:API resource representing a card transaction authorization request. Top-level fields:

NameTypeDescription
idstringIdentifier of the authorization request resource.
typestringType of the resource. The value is always cardTransactionAuthorizationRequest.
attributesJSON ObjectJSON object representing the authorization request data.
relationshipsJSON:API RelationshipsDescribes relationships between the authorization request and other resources.

Attributes

NameTypeDescription
createdAtRFC3339 Date stringThe date the resource was created.
amountintegerThe amount (cents) of the authorization request.
statusstringThe status of the authorization request.
partialApprovalAllowedbooleanWhether partial approval is allowed.
merchantobjectInformation about the merchant.
recurringbooleanWhether this is a recurring authorization.
directionstringThe direction of the transaction (Credit or Debit).

Relationships

NameTypeDescription
accountJSON:API RelationshipThe Deposit Account.
customerJSON:API RelationshipThe Customer.
cardJSON:API RelationshipThe Card.
Example CardTransactionAuthorizationRequest resource:
{
"type": "cardTransactionAuthorizationRequest",
"id": "1",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"status": "Pending",
"partialApprovalAllowed": false,
"merchant": {
"name": "Merchant name",
"type": "6012",
"id": "311204598883"
},
"recurring": false,
"direction": "Debit",
"tags": {}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"card": {
"data": {
"type": "card",
"id": "7"
}
}
}
}

AtmAuthorizationRequest

AtmAuthorizationRequest is a JSON:API resource representing an ATM authorization request. Top-level fields:

NameTypeDescription
idstringIdentifier of the authorization request resource.
typestringType of the resource. The value is always atmAuthorizationRequest.
attributesJSON ObjectJSON object representing the authorization request data.
relationshipsJSON:API RelationshipsDescribes relationships between the authorization request and other resources.

Attributes

NameTypeDescription
createdAtRFC3339 Date stringThe date the resource was created.
amountintegerThe amount (cents) of the authorization request.
statusstringThe status of the authorization request.
directionstringThe direction of the transaction (Credit or Debit).
atmNamestringThe name of the ATM.
atmLocationstringThe location of the ATM.
surchargeintegerThe surcharge amount in cents.
tagsobjectSee Tags. When the authorization request was auto-completed using the timeout strategy, this field will contain decision_source set to programmatic_timeout_strategy and timeout_strategy set to Approve or Decline.

Relationships

NameTypeDescription
accountJSON:API RelationshipThe Deposit Account.
customerJSON:API RelationshipThe Customer.
cardJSON:API RelationshipThe Card.
Example AtmAuthorizationRequest resource:
{
"type": "atmAuthorizationRequest",
"id": "1",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"status": "Pending",
"direction": "Debit",
"atmName": "ATM Name",
"atmLocation": "123 Main St",
"surcharge": 250,
"tags": {}
},
"relationships": {
"account": {
"data": {
"type": "account",
"id": "10001"
}
},
"customer": {
"data": {
"type": "customer",
"id": "10000"
}
},
"card": {
"data": {
"type": "card",
"id": "7"
}
}
}
}