intent
accounts
transactions
intent
Get an intent
intent
Get an intent
Get an intent by ID
GET
/
intent
/
{id}
curl --request GET \
--url https://api.pushcash.com/intent/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "intent_sandbox_dMggQ93ZYH6DH9LBhVeijE",
"idempotency_key": "f1bbb856",
"created_at": "2023-05-24T20:36:50.694Z",
"direction": "cash_in",
"user_id": "user_28CJjV7P4Go5PNJvfzghiD",
"amount": 1450,
"currency": "USD",
"guarantee_amount": 1450,
"status": "approved",
"decline_category": null,
"transactions": [
{
"id": "txn_230vjroij4985uefjoiu9",
"amount": 1450,
"currency": "USD",
"created_at": "2023-05-24T20:15:18.158Z",
"date": "2023-05-24",
"batch": "398002",
"balance": "settlement",
"type": "intent",
"source_id": "intent_sandbox_dMggQ93ZYH6DH9LBhVeijE",
"status": "settled"
}
],
"dispute": null,
"payment_credential": {
"bank_name": "Space Coast Credit Union",
"account": {
"number_mask": "5978",
"routing": "263177903"
},
"card": {
"primary_account_number_mask": "6018",
"expiration": "2024-05-01"
}
},
"rail": "card",
"account": {
"id": "account_WsELzpJOvU6fNafvzWbF6K",
"type": "settlement",
"name": "Settlement Account",
"created_at": "2023-05-24T20:15:18.158Z"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The intent ID
Response
200
application/json
Successful operation
The response is of type object
.
curl --request GET \
--url https://api.pushcash.com/intent/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "intent_sandbox_dMggQ93ZYH6DH9LBhVeijE",
"idempotency_key": "f1bbb856",
"created_at": "2023-05-24T20:36:50.694Z",
"direction": "cash_in",
"user_id": "user_28CJjV7P4Go5PNJvfzghiD",
"amount": 1450,
"currency": "USD",
"guarantee_amount": 1450,
"status": "approved",
"decline_category": null,
"transactions": [
{
"id": "txn_230vjroij4985uefjoiu9",
"amount": 1450,
"currency": "USD",
"created_at": "2023-05-24T20:15:18.158Z",
"date": "2023-05-24",
"batch": "398002",
"balance": "settlement",
"type": "intent",
"source_id": "intent_sandbox_dMggQ93ZYH6DH9LBhVeijE",
"status": "settled"
}
],
"dispute": null,
"payment_credential": {
"bank_name": "Space Coast Credit Union",
"account": {
"number_mask": "5978",
"routing": "263177903"
},
"card": {
"primary_account_number_mask": "6018",
"expiration": "2024-05-01"
}
},
"rail": "card",
"account": {
"id": "account_WsELzpJOvU6fNafvzWbF6K",
"type": "settlement",
"name": "Settlement Account",
"created_at": "2023-05-24T20:15:18.158Z"
}
}