1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints Reference
  5. POST /transactions

POST /transactions

This endpoint exists only in the sandbox. It allows you to create custom transactions and then play around with the data and the other endpoints.

Headers

 

Key Value
Content-Type application/json
Authorization Bearer {token}

Request

 

Key Required Comment
amount Yes float
card_id Yes int. The ID of a card enrolled by you.
createdAt No string. Timestamp of the transaction in YYYYMMDDhhmmss, UTC

Response

Key Value
transactionId int. The ID of this transaction.

Status Code

 

Code Comment
201 Request OK.
400 Input data not correct
401 User not authorized

How can we help?