Structure for Add Merchant Partner Requests
GET/api/v1/partner-profiles/structure
Using your bearer token to authenticate, fetch the fields that you will need to complete an Add Merchant Partner request. (Note that these fields have been previously agreed upon between you and Splitit.) In addition, note that the response's RequestUrlEndpoint here includes the full URL (including profileID) that you will need to add new merchants using the Add Merchant Partner endpoint.
Request
Responses
- 200
- 404
- 500
Success
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
Array [
]
]
Errors
object[]
Code string
Message string
AdditionalInfo string
StatusCode int32required
TraceId string
IsSuccess booleanrequired
MetaData
object[]
The fields in question.
Fields
object[]
required
AccountFieldName stringrequired
AccountFieldType stringrequired
AllowedOptions string[]required
IsMandatory booleanrequired
Account required
RequestUrlEndpoint stringrequired
Description stringrequired
Method stringrequired
AuthorizationHeader stringrequired
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true,
"MetaData": [
{
"Fields": [
{
"AccountFieldName": "string",
"AccountFieldType": "string",
"AllowedOptions": [
"string"
],
"IsMandatory": true
}
],
"Account": {},
"RequestUrlEndpoint": "string",
"Description": "string",
"Method": "string",
"AuthorizationHeader": "string"
}
]
}
Not Found
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
Code string
Message string
AdditionalInfo string
StatusCode int32required
TraceId string
IsSuccess booleanrequired
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}
Internal Server Error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
Code string
Message string
AdditionalInfo string
StatusCode int32required
TraceId string
IsSuccess booleanrequired
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}
Loading...