Skip to main content
GET
Get payment config for a provider

Request

Path parameters

Query parameters

The provider segment must be a valid 24-character ShopPayment id. Passing a provider name (for example paystack) returns 400. List the available payment methods and their ids with GET /payments.

Successful response

The shape of data depends on the payment method type. A bank-transfer method returns account details:
A gateway method (e.g. Nomba) returns the gateway initialization payload (accountId, clientId, and an order object with the amount and metadata).

Error responses

Authorizations

Authorization
string
header
required

JWT issued by the Salesive Store API for authenticated shoppers.

x-shop-id
string
header
required

Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.

Headers

x-shop-id
string

Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

Path Parameters

provider
string
required

ShopPayment id from GET /payments.

Query Parameters

orderId
string
required
currency
string
Example:

"NGN"

Response

Payment config retrieved.

The response is of type object.