Paycose Docs
Application
PUT/applications/{id}/countries/{country}/payment_provider

Update Countries Payment Provider

Request body: setCardProviderRequest

Responses: 200, 400, 403, 404, 500, 503

Generated from the code contract; no hand-written description yet.

This endpoint is deprecated and no longer be used.

Request

Example

curl -X PUT 'https://api.paycose.com/api/v1/app1/platform/wallet/applications/{{id}}/countries/{{country}}/payment_provider' \
  -H 'Content-Type: application/json' \
  -d '{
  "provider": "<string>"
}'

Headers

NameValue
Content-Typeapplication/json

Body

NameTypeValue
providerstring<string>
{
  "provider": "<string>"
}

Responses

400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
403403 Forbidden

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
404404 Not Found

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
500500 Internal Server Error

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
503503 Service Unavailable

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page