Quickstart
Use access token
4 min
once you've successfully get access token , an access token is returned to you include this token in the header of your api calls the access token expires after a set period of time the response containing the token also specifies the expiration time in seconds store and use your access token until it expires we recommend you use the token until you receive a 401 unauthorized error, and then request a new token important do not request a new token for every api request make sure to protect your token anyone who steals your token can impersonate your client for the lifetime of the token api request header in the header of each api request, include the access token as follows sample call for wire payment in curl curl location request 'post https //sandbox crbcos com/wires/v1/payments' \\ \ header 'authorization bearer \[your token here]' \\ \ header 'content type application/x www form urlencoded' \\ \ data raw '{ "accountnumber" "2255685659", "businessfunctioncode" "ctr", "receiverroutingnumber" "021000021", "beneficiaryfi" { "idcode" "f", "identifier" "021000021", "name" "jp morgan chase" }, "beneficiary" { "idcode" "d", "identifier" "123456789", "name" "peter griffin" }, "beneficiaryreference" "xyz123", "amount" 10000, "purpose" "payment" }' postman to use a token in postman, navigate to the authorization tab in your request, select bearer token as the authentication type, and paste your token into the provided field postman will automatically add the bearer prefix and the token to the token field s wagger provide the token using the method your version of swagger requires in this example, at the top of this swagger screen, paste the token into the token field and click explore the token is now activated