The authorization ID gotten from the initiation response
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "id": { "type": "integer", "description": "The customer ID attached to the authorization" }, "authorization_id": { "type": "integer", "description": "The authorization ID gotten from the initiation response" } }, "required": [ "PCID", "id", "authorization_id" ]}
The code for the customer gotten from the response of the customer creation
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "code": { "type": "string", "description": "The code for the customer gotten from the response of the customer creation" } }, "required": [ "PCID", "code" ]}
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "id": { "type": "integer", "description": "The customer ID for the authorizations to fetch" } }, "required": [ "PCID", "id" ]}
A flag to indicate if cursor based pagination should be used
next
string
No
—
An alphanumeric value returned for every cursor based retrieval, used to retrieve the next set of data
previous
string
No
—
An alphanumeric value returned for every cursor based retrieval, used to retrieve the previous set of data
from
string
No
—
The start date
to
string
No
—
The end date
perPage
integer
No
—
The number of records to fetch per request
page
integer
No
—
The offset to retrieve data from
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "use_cursor": { "type": "boolean", "description": "A flag to indicate if cursor based pagination should be used" }, "next": { "type": "string", "description": "An alphanumeric value returned for every cursor based retrieval, used to retrieve the next set of data" }, "previous": { "type": "string", "description": "An alphanumeric value returned for every cursor based retrieval, used to retrieve the previous set of data" }, "from": { "type": "string", "description": "The start date" }, "to": { "type": "string", "description": "The end date" }, "perPage": { "type": "integer", "description": "The number of records to fetch per request" }, "page": { "type": "integer", "description": "The offset to retrieve data from" } }, "required": [ "PCID" ]}
The customer code from the response of the customer creation
risk_action
string
No
—
This determines the fraud rules that should be applied to the customer
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "customer": { "type": "string", "description": "The customer code from the response of the customer creation" }, "risk_action": { "type": "string", "description": "This determines the fraud rules that should be applied to the customer", "enum": [ "allow", "deny", "default" ] } }, "required": [ "PCID", "customer" ]}
The bank slug for preferred bank. To get a list of available banks, use the List Providers endpoint
split_code
string
No
—
Split code consisting of the lists of accounts you want to split the transaction with
subaccount
string
No
—
Subaccount code of the account you want to split the transaction with
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "customer": { "type": "string", "description": "The code for the previously created customer" }, "preferred_bank": { "type": "string", "description": "The bank slug for preferred bank. To get a list of available banks, use the List Providers endpoint" }, "split_code": { "type": "string", "description": "Split code consisting of the lists of accounts you want to split the transaction with" }, "subaccount": { "type": "string", "description": "Subaccount code of the account you want to split the transaction with" } }, "required": [ "PCID", "customer" ]}
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "active": { "type": "boolean", "description": "Status of the dedicated virtual account" }, "customer": { "type": "integer", "description": "The customer's ID" }, "currency": { "type": "string", "description": "The currency of the dedicated virtual account", "enum": [ "NGN", "GHS" ] }, "provider_slug": { "type": "string", "description": "The bank's slug in lowercase, without spaces" }, "bank_id": { "type": "string", "description": "The bank's ID" }, "perPage": { "type": "integer", "description": "The number of records to fetch per request" }, "page": { "type": "integer", "description": "The offset to retrieve data from" } }, "required": [ "PCID" ]}
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "account_number": { "type": "string", "description": "Virtual account number to requery" }, "provider_slug": { "type": "string", "description": "The bank's slug in lowercase, without spaces." }, "date": { "type": "string", "description": "The day the transfer was made" } }, "required": [ "PCID" ]}
The cursor value of the next set of authorizations to fetch. You can get this from the meta object of the response
status
string
No
—
Filter by the authorization status
per_page
integer
No
—
The number of authorizations to fetch per request
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "cursor": { "type": "string", "description": "The cursor value of the next set of authorizations to fetch. You can get this from the meta object of the response" }, "status": { "type": "string", "description": "Filter by the authorization status", "enum": [ "pending", "active", "revoked" ] }, "per_page": { "type": "integer", "description": "The number of authorizations to fetch per request" } }, "required": [ "PCID" ]}
Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR
currency
string
No
—
Currency in which amount is set. Allowed values are NGN, GHS, ZAR or USD
description
string
No
—
A description for this plan
interval
string
Yes
—
Payment interval
invoice_limit
integer
No
—
Number of invoices to raise during subscription to this plan. Can be overridden by specifying an invoice_limit while subscribing.
name
string
Yes
—
Name of plan
send_invoices
boolean
No
—
Set to false if you don’t want invoices to be sent to your customers
send_sms
boolean
No
—
Set to false if you don’t want text messages to be sent to your customers
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "amount": { "type": "integer", "description": "Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" }, "currency": { "type": "string", "description": "Currency in which amount is set. Allowed values are NGN, GHS, ZAR or USD" }, "description": { "type": "string", "description": "A description for this plan" }, "interval": { "type": "string", "description": "Payment interval", "enum": [ "daily", "weekly", "monthly", "biannually", "annually" ] }, "invoice_limit": { "type": "integer", "description": "Number of invoices to raise during subscription to this plan. Can be overridden by specifying an invoice_limit while subscribing." }, "name": { "type": "string", "description": "Name of plan" }, "send_invoices": { "type": "boolean", "description": "Set to false if you don't want invoices to be sent to your customers" }, "send_sms": { "type": "boolean", "description": "Set to false if you don't want text messages to be sent to your customers" } }, "required": [ "PCID", "amount", "interval", "name" ]}
Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR
currency
string
No
—
Currency in which amount is set. Allowed values are NGN, GHS, ZAR or USD
description
string
No
—
A description for this plan
interval
string
No
—
Payment interval
invoice_limit
integer
No
—
Number of invoices to raise during subscription to this plan. Can be overridden by specifying an invoice_limit while subscribing.
name
string
No
—
Name of plan
send_invoices
boolean
No
—
Set to false if you don’t want invoices to be sent to your customers
send_sms
boolean
No
—
Set to false if you don’t want text messages to be sent to your customers
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "code": { "type": "string", "description": "The plan code you want to fetch" }, "amount": { "type": "integer", "description": "Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR" }, "currency": { "type": "string", "description": "Currency in which amount is set. Allowed values are NGN, GHS, ZAR or USD" }, "description": { "type": "string", "description": "A description for this plan" }, "interval": { "type": "string", "description": "Payment interval", "enum": [ "daily", "weekly", "monthly", "biannually", "annually" ] }, "invoice_limit": { "type": "integer", "description": "Number of invoices to raise during subscription to this plan. Can be overridden by specifying an invoice_limit while subscribing." }, "name": { "type": "string", "description": "Name of plan" }, "send_invoices": { "type": "boolean", "description": "Set to false if you don't want invoices to be sent to your customers" }, "send_sms": { "type": "boolean", "description": "Set to false if you don't want text messages to be sent to your customers" } }, "required": [ "PCID", "code" ]}
The percentage charge on transactions for this subaccount
primary_contact_email
string
No
—
A contact email for the subaccount
primary_contact_name
string
No
—
The name of the contact person for this subaccount
primary_contact_phone
string
No
—
A phone number to call for this subaccount
settlement_bank
string
Yes
—
Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "account_number": { "type": "string", "description": "Bank account number" }, "business_name": { "type": "string", "description": "Name of business for subaccount" }, "description": { "type": "string", "description": "A description for this subaccount" }, "metadata": { "type": "string", "description": "Stringified JSON object of custom data" }, "percentage_charge": { "type": "number", "description": "The percentage charge on transactions for this subaccount" }, "primary_contact_email": { "type": "string", "description": "A contact email for the subaccount" }, "primary_contact_name": { "type": "string", "description": "The name of the contact person for this subaccount" }, "primary_contact_phone": { "type": "string", "description": "A phone number to call for this subaccount" }, "settlement_bank": { "type": "string", "description": "Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint." } }, "required": [ "PCID", "account_number", "business_name", "percentage_charge", "settlement_bank" ]}
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "perPage": { "type": "integer", "description": "Number of records to fetch per request" }, "page": { "type": "integer", "description": "The offset to retrieve data from" }, "active": { "type": "boolean", "description": "Filter by the state of the subaccounts" } }, "required": [ "PCID" ]}
The name of the contact person for this subaccount
primary_contact_phone
string
No
—
A phone number to call for this subaccount
settlement_bank
string
No
—
Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "code": { "type": "string", "description": "The subaccount code you want to fetch" }, "account_number": { "type": "string", "description": "Bank account number" }, "active": { "type": "boolean", "description": "Activate or deactivate a subaccount" }, "business_name": { "type": "string", "description": "Name of business for subaccount" }, "description": { "type": "string", "description": "A description for this subaccount" }, "metadata": { "type": "string", "description": "Stringified JSON object of custom data" }, "percentage_charge": { "type": "number", "description": "Customer's phone number" }, "primary_contact_email": { "type": "string", "description": "A contact email for the subaccount" }, "primary_contact_name": { "type": "string", "description": "The name of the contact person for this subaccount" }, "primary_contact_phone": { "type": "string", "description": "A phone number to call for this subaccount" }, "settlement_bank": { "type": "string", "description": "Bank code for the bank. You can get the list of Bank Codes by calling the List Banks endpoint." } }, "required": [ "PCID", "code" ]}
If customer has multiple authorizations, you can set the desired authorization you wish to use for this subscription here. If this is not supplied, the customer’s most recent authorization would be used
customer
string
Yes
—
Customer’s email address or customer code
plan
string
Yes
—
Plan code
start_date
string
No
—
Set the date for the first debit. (ISO 8601 format) e.g. 2017-05-16T00:30:13+01:00
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "authorization": { "type": "string", "description": "If customer has multiple authorizations, you can set the desired authorization you wish to use for this subscription here. If this is not supplied, the customer's most recent authorization would be used" }, "customer": { "type": "string", "description": "Customer's email address or customer code" }, "plan": { "type": "string", "description": "Plan code" }, "start_date": { "type": "string", "description": "Set the date for the first debit. (ISO 8601 format) e.g. 2017-05-16T00:30:13+01:00" } }, "required": [ "PCID", "customer", "plan" ]}
The subscription code for the subscription you want to fetch
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for the authenticated connection" }, "code": { "type": "string", "description": "The subscription code for the subscription you want to fetch" } }, "required": [ "PCID", "code" ]}