Create account
/ admin/ v1/ stores/ {store_id}/ payment-accounts- payments:manage
- Idempotency-Key supported
Connect a payment provider. Credentials are sealed at rest and never returned.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
providerenumrequiredThe payment providers the platform can talk to.
- manual
- test
- moyasar
- stripe
- paymob
- fawry
- tabby
- tamara
- app
- gift_card
- in_person
- terms
methodsarray of enumsrequired- card
- mada
- apple_pay
- google_pay
- stc_pay
- cash_on_delivery
- bank_transfer
- gift_card
- cash
- card_present
- on_account
- mobile_wallet
- fawry
- valu
- sympl
- souhoola
- instapay
- tabby
- tamara
app_installation_idstring · or nullFor the
appprovider: the gateway app's installation (from the providers list).display_namestring · or nullShown at checkout; defaults to the provider's name.
modeenumWhether an account moves real money.
- test
- live
capture_modeenumWhen authorized funds are collected.
- automatic
- manual
instructionsstring · or nullCustomer-facing instructions for offline methods (required for bank transfer).
credentialsobjectCredential values by key (see the provider's
credential_fields). Write-only.
Returns
201 Account created.
Errors
- 403
forbiddenMissing permission. - 422
validation_failedValidation failed.