/v1/onboard
Request to confirm registration in the Yandex Pay console.
Request
POST
https://example.merchant.ru/v1/onboard
Production
POST
https://sandbox.example.merchant.ru/v1/onboard
Sandbox
Body
application/json
{
"apiKey": "example",
"force": false,
"merchantAuthToken": "example",
"merchantId": "123e4567-e89b-12d3-a456-426614174000"
}
|
Name |
Description |
|
apiKey |
Type: string Example: |
|
merchantAuthToken |
Type: string Authorization token generated by the merchant Example: |
|
force |
Type: boolean Default: |
|
merchantId |
Type: string<uuid> Example: |
Responses
200 OK
success
Body
application/json
{
"status": "success"
}
|
Name |
Description |
|
status |
Type: string Default: |
400 Bad Request
bad request
Body
application/json
{
"reason": "example",
"reasonCode": "FORBIDDEN",
"status": "fail"
}
|
Name |
Description |
|
reasonCode |
Type: string Enum: |
|
reason |
Type: string Example: |
|
status |
Type: string Default: |