Payments
Get public payment methods
This endpoint retrieves the list of payment methods available for a specific account, including their status and display order.
Request
Method: GET
URL: https://api.sandbox.bobpay.co.za/v2/payments/payment-methods/public
Query parameters
| Key | Description | Type | Required |
|---|---|---|---|
| account_code | The unique code identifying the account. | string | Yes |
Response
Status code: 200 OK
Content-Type: application/json
Response fields
| Key | Description | Type |
|---|---|---|
| payment_methods | Array of available payment method objects for the specified account. | array |
| name | The unique name/identifier of the payment method. | string |
| status | The activation status of the payment method. | string |
| order | The display order for the payment method (lower number = higher priority). | integer |