Logo
Swift API Sandbox Collections API Documentation

Validates the instructed amount.

POST {{baseUrl}}/payment/amount

Validates the instructed amount against the requirements available in the SWIFT reference data for the instructed country and payment market infrastructure.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
x-bic
string (Required) BIC of SWIFT as SWIFT is performing the service, centrally. The x-bic value must be swhqbebb.
X-Request-ID
string Unique end-to-end tracking identifier(ID) of the Payment Pre-validation API service request. Payment Pre-validation Users are not required to fill it in for the Payment Pre-validation API request. SWIFT provide the tracking ID which is an uuid as described in IETF RFC 4122 Universally Unique Identifier (UUID) URN Namespace.Pattern - ^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$.
Content-Type
string
Accept
string




RESPONSES

status




<

Curl
curl -X POST 'https://sandbox.swift.com/swift-preval/v2/payment/amount' -H 'x-bic: swhqbebb' -H 'X-Request-ID: 0f70dd9b-11d4-1d02-049b-9caee3c80982' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"amount":"6545","currency_code":"XOF"}'

ENDPOINTS