go to home

Developer Documentation

Merchant Payment Cleansing: Authentication Endpoints

To access the Merchant Payment Cleansing API, you must first authenticate. This is done using your username and password. If you do not have a username and password, your Client Success Manager can provision them for you. Authentication is done via /oauth/token endpoint with HTTP basic auth using your client_id and secret.

Example HTTP request

POST https://dataservices-stage.segmint.net/auth/v1/token
Authorization: Basic  {{encoding}}

Example HTTP request

POST https://dataservices-stage.segmint.net/auth/v1/token
Authorization: Basic username password

Where encoding is a base64 encoding of your client_id concatenated with a colon concatenated with your secret.

let username = 'test_username'
let password = 'super secret password'
let encoding = Base64.encode(username + ":" + password)

OpenAPI

OpenApi Spec here