PurchaseV

Purchase Preview

Changed on

Preview amounts, taxes, and exchange rate using raw card data through the secure endpoint. Exclusively for PCI-certified merchants.

post/v3/api/purchase/preview

Request

  • Base URL
    https://secure-api.stage.bamboopayment.com
  • URL
    https://secure-api.stage.bamboopayment.com/v3/api/purchase/preview
  • Auth
    API key in header Authorization

Request body

TrxTokenstring nullable
PaymentMethodstring nullable
Orderstring nullable
InvoiceNumberstring nullable
UniqueIDstring nullable
Installmentsinteger nullable
Amountinteger
TaxableAmountinteger nullable
Tipinteger nullable
Currencystring nullable
TargetCountryISOstring nullable
Languagestring nullable

Response

OK

ErrorCodestring nullable
ErrorDescriptionstring nullable
QuoteIdstring nullable
CurrencyCodestring nullable
TotalAmountnumber double nullable

Changes

    • breaking

      the response property // became nullable for the status (media type: text/plain)

    • breaking

      the response property // became nullable for the status (media type: application/json)

    • breaking

      the response property // became nullable for the status (media type: text/json)

    • breaking

      the response property /// became nullable for the status (media type: text/plain)

    • breaking

      the response property /// became nullable for the status (media type: application/json)

    • breaking

      the response property /// became nullable for the status (media type: text/json)

    • breaking

      the response property / became nullable for the status (media type: text/plain)

    • breaking

      the response property / became nullable for the status (media type: application/json)

    • breaking

      the response property / became nullable for the status (media type: text/json)

    • warning

      removed the optional property /// from the response with the status (media type: text/plain)

    • warning

      removed the optional property /// from the response with the status (media type: application/json)

    • warning

      removed the optional property /// from the response with the status (media type: text/json)

    • warning

      removed the optional property /// from the response with the status (media type: text/plain)

    • warning

      removed the optional property /// from the response with the status (media type: application/json)

    • warning

      removed the optional property /// from the response with the status (media type: text/json)

    • warning

      removed the optional property /// from the response with the status (media type: text/plain)

    • warning

      removed the optional property /// from the response with the status (media type: application/json)

    • warning

      removed the optional property /// from the response with the status (media type: text/json)

    • info

      added the optional property /// to the response with the status (media type: text/plain)

    • info

      added the optional property /// to the response with the status (media type: application/json)

    • info

      added the optional property /// to the response with the status (media type: text/json)

    • info

      added the optional property /// to the response with the status (media type: text/plain)

    • info

      added the optional property /// to the response with the status (media type: application/json)

    • info

      added the optional property /// to the response with the status (media type: text/json)