View Source Paystack.Customer (Paystack v0.7.0)

The Customers API allows you create and manage customers on your integration.

https://paystack.com/docs/api/#customer

Link to this section Summary

Functions

Blacklist a customer on your integration.

Create a customer on your integration

Deactivate an authorization when the card needs to be forgotten.

Get details of a customer on your integration.

List customers available on your integration.

List customers available on your integration with supported paystack query params.

Remove a customer from blacklist on your integration. This effectively sets the risk action to default.

Remove a customer from whitelist on your integration. This effectively sets the risk action to default.

Update a customer's details on your integration

Validate a customer's identity

Whitelist a customer on your integration.

Link to this section Functions

Link to this function

blacklist(email_or_customer_code)

View Source

Specs

blacklist(String.t()) :: Paystack.Api.t()

Blacklist a customer on your integration.

Specs

create(map()) :: Paystack.Api.t()

Create a customer on your integration

Link to this function

deactivate_authorization(authorization_code)

View Source

Specs

deactivate_authorization(String.t()) :: Paystack.Api.t()

Deactivate an authorization when the card needs to be forgotten.

Link to this function

fetch(email_or_customer_code)

View Source

Specs

fetch(String.t()) :: Paystack.Api.t()

Get details of a customer on your integration.

Specs

list() :: Paystack.Api.t()

List customers available on your integration.

Specs

list(list() | map()) :: Paystack.Api.t()

List customers available on your integration with supported paystack query params.

Link to this function

unblacklist(email_or_customer_code)

View Source

Specs

unblacklist(String.t()) :: Paystack.Api.t()

Remove a customer from blacklist on your integration. This effectively sets the risk action to default.

Link to this function

unwhitelist(email_or_customer_code)

View Source

Specs

unwhitelist(String.t()) :: Paystack.Api.t()

Remove a customer from whitelist on your integration. This effectively sets the risk action to default.

Link to this function

update(customer_code, params)

View Source

Specs

update(String.t(), map()) :: Paystack.Api.t()

Update a customer's details on your integration

Link to this function

validate(customer_code, params)

View Source

Specs

validate(String.t(), map()) :: Paystack.Api.t()

Validate a customer's identity

Link to this function

whitelist(email_or_customer_code)

View Source

Specs

whitelist(String.t()) :: Paystack.Api.t()

Whitelist a customer on your integration.