Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.treasuryprime.com/llms.txt

Use this file to discover all available pages before exploring further.

ATM cash deposits are not available at this time.

ATM Transactions

An ATM withdrawal will result in the creation of an auth-clear-request card event and, if approved, a debit transaction on the account.

Approved ATM Withdrawal

If the auth-clear-request is approved (the account has sufficient funds), a debit Transaction will be made on the account.
ObjectTypeAmount
Card Eventauth-clear-request20
Transactiondebit-20

Declined ATM Withdrawal

If the auth-clear-request is declined, no subsequent transactions are created. Common reasons for a request to be declined include insufficient funds and surpassing card control withdrawal limits (if defined).
ObjectTypeAmount
Card Eventauth-clear-request20

Card Event Object with ATM Sub-Object

The below example shows a Card Event containing an atm sub-object. This demonstrates the type of data included in an auth-clear-request callback.
Note: The network_fee field represents the fee that will be charged to the end user for using this ATM.
{
  "message_type": "auth-clear-request",
  "amount": "20.00",
  "bank_id": "bank_treasuryprime",
  "org_id": "org_1fdy4di87s78",
  "decline_reason": null,
  "updated_at": "2022-06-16T20:57:52Z",
  "currency": "USD",
  "status": "pending",
  "id": "cnm_44jj33abcd1234",
  "card_id": "card_12345abcde123",
  "trace_id": "9eda29541ed2asdf1231e61cabcdef123",
  "network": "mastercard",
  "network_created_at": null,
  "merchant": {
    "name": "Card Transaction Clear Request",
    "mcc": "4000",
    "mid": "0045025839033",
    "address": {
      "city": "LAS VEGAS",
      "state": "NV",
      "postal_code": "88901",
      "country": "USA"
    }
  },
  "processor": "marqeta",
  "networkdata": null,
  "created_at": "2022-06-16T20:57:52Z",
  "atm": {
  "network": "mastercard",
  "network_fee": "3.00"
 },
}