# Transaction **POST /transaction** This API call will present a transaction for processing. Note the fields that are marked as required below and the data types to be used. The response will contain a JSON object with details of the transaction result. ## Servers ## Parameters ### Headers - **Authorization** (string) Bearer accessToken ### Body: (object) Please pay attention to the required + acceptable values as well as the data types. - **allowPartialAuth** (integer) Include this value if you need to support allowing the partial approval of transactions. An example of this would be for a transaction of 20.00 where the giftcard has a balance of 10.00. In this scenario and with this value set to '1' this API would return a partial approval response with a remaining value to pay. - **currencyCode** (integer) ISO 4217 Numeric currency code, which much match the currency code of the giftcard to be debited. An error will be returned if a mismatch occurs. Current supported currency codes are 826 (GBP), 840 (USD) and 978 (EUR) - **identifier** (string) The unique identifier of the giftcard to be debited. - **siteId** (integer) Numeric site ID that this transaction will be logged against.A check is perfomed by this API that the site ID provided belongs to the client - **transactionTotal** (number(float)) - **transactionType** (integer) 1 = Sale / Debit transaction 2 = Top Up 3 = Refund ## Responses ### 200 #### Body: (object) - **message** (string) - **timestamp** (integer) - **data** (object) ### 400 A bad request could be returned for a variety of reasons and typically because of invalid data being presented. 400 Bad Request responses will be accompanied with a "message" value in the response body to help diagnose the issue. #### Body: (object) - **message** (string) - **timestamp** (integer) [Powered by Bump.sh](https://bump.sh)