Senders
Create Individual Sender
Changed onCreates an individual sender and returns the userId you use for KYC and for every order they pay for. Call POST /v3/senders/mandatory-fields with type: individual first and build this body from the inputs it returns; the properties below are one corridor's fields, not a fixed list. A sender matching the details you sent returns 200 with the existing userId and code: USER_ALREADY_EXISTS.
post/v3/senders/individual
Request
- Base URLhttps://sandbox-api.transfi.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
MIDstring required
Merchant or sub-merchant MID
Request body
Example request
{
"country": "ID",
"currencyType": "fiat",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "81234567890",
"phoneCode": "+62",
"dob": "12-12-2000"
}Response
OK
Changes
- info
endpoint added
- info