Skip to main content
POST
/
{shopId}
/
paymentmethods
Create shop payment methods
curl --request POST \
  --url http://staging.qshop.ng/apiv2/{shopId}/paymentmethods/ \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "bankAccountId": "6360fd463e688d79a64be0d1",
    "id": "5ee79950eea46308e8f84868"
  },
  {
    "bankAccountId": "6360fb97fc984d7f72612a0b",
    "id": "616c5714bc454798c50d7add"
  },
  {
    "bankAccountId": "6360fb97fc984d7f72612a0b",
    "id": "62253a53eb629b0f831614d1"
  },
  {
    "id": "5ee8ada78d362db318828297"
  }
]
'

Body

application/json
bankAccountId
string
Example:

"6360fd463e688d79a64be0d1"

id
string
Example:

"5ee79950eea46308e8f84868"

Example:
[
{
"bankAccountId": "6360fd463e688d79a64be0d1",
"id": "5ee79950eea46308e8f84868"
},
{
"bankAccountId": "6360fb97fc984d7f72612a0b",
"id": "616c5714bc454798c50d7add"
},
{
"bankAccountId": "6360fb97fc984d7f72612a0b",
"id": "62253a53eb629b0f831614d1"
},
{ "id": "5ee8ada78d362db318828297" }
]

Response

200 - undefined