Transactions

Set transaction amount

Called by the Independent Software Vendor. The ISV makes a request to TB in order to set the amount of a transaction

put/transactions/{id}/set_amount

Request

  • Base URL
    https://tb.paymentfusion.com
  • Auth
    none declared. Required headers: Authorization, Accept

Path parameters

idinteger required

The ID of the transaction job that was previously created.

Headers

Authorizationstring api_id:api_token required

Needs to include Basic word before Base64 encoded api_id:api_token. The api_id is the identifier of the organization created on TAP; size range - up to 36 characters. The api_token is the unique token previously generated by TAP and provided securely to the organization; size range - 32. Example: Basic ODA5BVgrNdZkZmbiFlJlTThkYTA2eG00MzA5dHh1bWZnZgfdZDE=

Acceptstring required
Example:application/vnd.paymentfusion.v3.0.0+json

Specifies the requested API version. If this field is not specified or has an invalid format, the API will return an error. If the specified version does not exist, a 404 page will be displayed. Accepted values - application/vnd.paymentfusion.v3.0.0+json

Request body application/x-www-form-urlencoded

amountinteger required

The amount value used to update the amount field in the database. Described in USD up to 6 decimals, must be a number greater than 0 and its last 4 digits must be 0. (e.g. "1", "1.00", "1.01", "1.2", "1.230000").

Example request

{
  "healthcare": {
    "iias_verified": "string",
    "healthcare_amount": "string",
    "prescription_amount": "string",
    "copay_amount": "string",
    "vision_amount": "string",
    "clinic_other_amount": "string",
    "dental_amount": "string",
    "transit_amount": "string",
    "cumulative_amount": "string"
  }
}

Response

Success

vstring

The API version that was used to handle the request.

Example response

{
  "v": "string"
}

Changes

No recorded changes to this operation across all 1 revision of this API.