merchant_configurations

Create a configuration document

One document per organization, method and mode; a second answers 409. PayMongo-Actor names the writer and is recorded in the history. The organization must be the token's account.

post/v1/merchant_configurations

Request

  • Base URL
    https://ewallets-api.paymongo.com
  • URL
    https://ewallets-api.paymongo.com/v1/merchant_configurations
  • Auth
    HTTP bearer

Headers

PayMongo-Actorstring required

account:<id> | system:<job> | migration:<source>

PayMongo-Livemode'true' | 'false' required

true or false

Request body

enabledboolean
featuresobject
methodstring required
organization_idstring required
providerstring
providersobject
reasonstring
settingsobject

Example request

{
  "method": "paymaya",
  "organization_id": "org_abc123",
  "provider": "paymaya",
  "reason": "ONB-1182 go-live"
}

Response

Created

has_moreboolean

Example response

{
  "data": {
    "id": "mcfg_5e2a8c1d7f4b9e6a3c0d1b58",
    "method": "paymaya",
    "organization_id": "org_abc123",
    "provider": "paymaya",
    "version": 2
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.