Paystack integration (Finance). Imported from open-connector.
https://api.paystack.co/customer
| Param | Type | Required | Description |
|---|---|---|---|
| string | required | Customer email address. | |
| first_name | string | optional | Customer first name. |
| last_name | string | optional | Customer last name. |
| phone | string | optional | Customer phone number. |
| metadata | object | optional | Metadata object sent to or returned by Paystack. |
/customer
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | Page number to fetch. |
| perPage | integer | optional | Number of records to return per page. |
| from | string | optional | Inclusive ISO 8601 start timestamp used to filter creation time. |
| to | string | optional | Inclusive ISO 8601 end timestamp used to filter creation time. |
/customer/{email_or_code}
| Param | Type | Required | Description |
|---|---|---|---|
| email_or_code | string | required | Customer email address or customer code accepted by Paystack. |
/customer/{code}
| Param | Type | Required | Description |
|---|---|---|---|
| code | string | required | Customer code used in the Paystack update path. |
| string | required | Customer email address. | |
| first_name | string | optional | Customer first name. |
| last_name | string | optional | Customer last name. |
| phone | string | optional | Customer phone number. |
| metadata | object | optional | Metadata object sent to or returned by Paystack. |
/transaction/initialize
| Param | Type | Required | Description |
|---|---|---|---|
| string | required | Customer email address used for the transaction. | |
| amount | integer | required | Transaction amount in the smallest currency unit. |
| currency | string | optional | Transaction currency code. |
| reference | string | optional | Custom transaction reference. |
| callback_url | string | optional | Callback URL used after checkout completes. |
| metadata | object | optional | Metadata object sent to or returned by Paystack. |
/transaction
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | Page number to fetch. |
| perPage | integer | optional | Number of records to return per page. |
| from | string | optional | Inclusive ISO 8601 start timestamp used to filter creation time. |
| to | string | optional | Inclusive ISO 8601 end timestamp used to filter creation time. |
| status | string | optional | Transaction status filter. |
| customer | string | optional | Customer code filter. |
/transaction/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| id | integer | required | Paystack transaction ID. |
/transaction/verify/{reference}
| Param | Type | Required | Description |
|---|---|---|---|
| reference | string | required | Transaction reference used by Paystack verify. |