Validates the category purpose.

POST {{baseUrl}}/payment/category-purpose

This request validates the instructed category purpose code against the list of category purpose codes available in the SWIFT reference data for the instructed payment context (creditor country).

Request Body

{"category_purpose_code"=>"VO130405", "country_code"=>"YY"}

HEADERS

KeyDatatypeRequiredDescription
x-bicstring(Required) BIC of SWIFT as SWIFT is performing the service, centrally. The x-bic value must be swhqbebb.
X-Request-IDstringUnique 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-Typestring
Acceptstring