Authentication
Authentication relies on OAuth 2.0 client credentials; once a token is obtained, it must be included in the Authorization header as a bearer token for each request.
Getting the token
post
Body
client_idstringRequired
Client id
client_secretstringRequired
Client secret
grant_typestringRequired
Grant Type
Responses
200
Success
application/json
Responsestring
404
Not Found
post
POST /api/Connect/Token HTTP/1.1
Host:
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 63
"client_id='text'&client_secret='text'&grant_type='text'"
text
After get a Token
The token must be included in the Authorization header for each request. It has an expiration time of one hour, after which you will need to obtain a new one.
For instance, a quote request should look like this:
curl --location 'https://remitee-moneytransfer-preprod.azurewebsites.net/api/QuoteCollections' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjZCN0FDQzUyMDMwNUJGREI0RjcyNTJEQUVCMjE3N0NDMDkxRkFBRTEiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJhM3JNVWdNRnY5dFBjbExhNnlGM3pBa2ZxdUUifQ.eyJuYmYiOjE1NzUzOTE4NjEsImV4cCI6MTU3NTM5NTQ2MSwiaXNzIjoiaHR0cHM6Ly9yZW1pdGVlLWlkZW50aXR5LXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQiLCJhdWQiOlsiaHR0cHM6Ly9yZW1pdGVlLWlkZW50aXR5LXRlc3QuYXp1cmV3ZWJzaXRlcy5uZXQvcmVzb3VyY2VzIiwibW9uZXl0cmFuc2ZlciJdLCJjbGllbnRfaWQiOiJ0dXJjYW1iaW8tbW9uZXl0cmFuc2Zlci1pbmJvdW5kIiwiY2xpZW50X21vbmV5dHJhbmZlcl9hY2NvdW50IjoiYWE3MmNmNjAtNDNmYi00N2EwLWFmM2UtNGNjZTUxNTAxZGI0Iiwic2NvcGUiOlsibW9uZXl0cmFuc2ZlciJdfQ.CANHGLJOMxZzsdvqKlnLVG29qslRXNcwEbtt8t_sFnT6VDL8sWzXkqr09D_pO6vJx781Z47ZFMJ34MaoE6wwxRo4XPbluDYeIKCaMD_KbfhswxV6koormLLjeLyFpBv91nDP4VoSU1L0pgAv3bBFfkkb_unO1aTqp6YRbndtlAiSmR5KsmPv-au341l8Hv2-sbIKoGC_f3caNFIa3_5s_z2rw16u2_y_1tlx6FXxvMBI33dx6iqw8LFvXLunwAHh7AX0_GW_EmLI7DJl0ljiCF9AFHIb1Obqa2CdN1DcWnP_RnPF8TfShSkWbtkTYVqShnarpTrgdrYJcHw93O2uFw' \
--data '{
"paymentType": "C2C",
"sourceCurrency": "USD",
"targetCountry": "ARG",
"targetCurrency": "ARS",
"collectMethod": "BANK_ACCOUNT",
"quoteType": "RECEIVING_AMOUNT",
"quoteAmount": 1000
}'
Last updated