CustomerApi
in package
Warning:
This class subject to change without prior notice, Please dont use this class directly.
Tags
Table of Contents
- $client : ClientInterface
- $config : Configuration
- $headerSelector : HeaderSelector
- __construct() : mixed
- createCustomer() : array<string|int, mixed>
- Operation createCustomer
- createCustomerWithHttpInfo() : array<string|int, mixed>
- Operation createCustomerWithHttpInfo
- getConfig() : Configuration
- getCustomer() : array<string|int, mixed>
- Operation getCustomer
- getCustomerWithHttpInfo() : array<string|int, mixed>
- Operation getCustomerWithHttpInfo
- initiateContactVerification() : array<string|int, mixed>
- Operation initiateContactVerification
- initiateContactVerificationWithHttpInfo() : array<string|int, mixed>
- Operation initiateContactVerificationWithHttpInfo
- linkCustomerContact() : array<string|int, mixed>
- Operation linkCustomerContact
- linkCustomerContactWithHttpInfo() : array<string|int, mixed>
- Operation linkCustomerContactWithHttpInfo
- retrieveCustomers() : array<string|int, mixed>
- Operation retrieveCustomers
- retrieveCustomersWithHttpInfo() : array<string|int, mixed>
- Operation retrieveCustomersWithHttpInfo
- unlinkCustomerContact() : array<string|int, mixed>
- Operation unlinkCustomerContact
- unlinkCustomerContactWithHttpInfo() : array<string|int, mixed>
- Operation unlinkCustomerContactWithHttpInfo
- updateCustomer() : array<string|int, mixed>
- Operation updateCustomer
- updateCustomerWithHttpInfo() : array<string|int, mixed>
- Operation updateCustomerWithHttpInfo
- createCustomerRequest() : array<string|int, mixed>
- Create request for operation 'createCustomer'
- createHttpClientOption() : array<string|int, mixed>
- Create http client option
- getCustomerRequest() : array<string|int, mixed>
- Create request for operation 'getCustomer'
- initiateContactVerificationRequest() : array<string|int, mixed>
- Create request for operation 'initiateContactVerification'
- linkCustomerContactRequest() : array<string|int, mixed>
- Create request for operation 'linkCustomerContact'
- retrieveCustomersRequest() : array<string|int, mixed>
- Create request for operation 'retrieveCustomers'
- unlinkCustomerContactRequest() : array<string|int, mixed>
- Create request for operation 'unlinkCustomerContact'
- updateCustomerRequest() : array<string|int, mixed>
- Create request for operation 'updateCustomer'
Properties
$client
protected
ClientInterface
$client
$config
protected
Configuration
$config
$headerSelector
protected
HeaderSelector
$headerSelector
Methods
__construct()
public
__construct([ClientInterface $client = null ][, Configuration $config = null ][, HeaderSelector $selector = null ]) : mixed
Parameters
- $client : ClientInterface = null
- $config : Configuration = null
- $selector : HeaderSelector = null
Return values
mixed —createCustomer()
Operation createCustomer
public
createCustomer(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, CreateCustomerRequest $create_customer_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Create Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API, in EBPP. The value to be passed in the requestor field would depend on the requestor_type. If the requestor_type is "customer", the requestor should be “guest”. This is typically used in the case of self registration, where there is no EBPP generated customer id yet. If the requestor_type is "external_user", the requestor can be any unique identifier that the client may have for the external agent. (required)
- $create_customer_request : CreateCustomerRequest
-
The JSON that contains all the attributes of customer to be created. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerResponse, HTTP status code, HTTP response headers (array of strings)
createCustomerWithHttpInfo()
Operation createCustomerWithHttpInfo
public
createCustomerWithHttpInfo(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, CreateCustomerRequest $create_customer_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Create Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API, in EBPP. The value to be passed in the requestor field would depend on the requestor_type. If the requestor_type is "customer", the requestor should be “guest”. This is typically used in the case of self registration, where there is no EBPP generated customer id yet. If the requestor_type is "external_user", the requestor can be any unique identifier that the client may have for the external agent. (required)
- $create_customer_request : CreateCustomerRequest
-
The JSON that contains all the attributes of customer to be created. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerResponse, HTTP status code, HTTP response headers (array of strings)
getConfig()
public
getConfig() : Configuration
Return values
Configuration —getCustomer()
Operation getCustomer
public
getCustomer(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, string $id_customer[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Get Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $id_customer : string
-
The unique identifier assigned by EBPP to the customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerResponse, HTTP status code, HTTP response headers (array of strings)
getCustomerWithHttpInfo()
Operation getCustomerWithHttpInfo
public
getCustomerWithHttpInfo(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, string $id_customer[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Get Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $id_customer : string
-
The unique identifier assigned by EBPP to the customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerResponse, HTTP status code, HTTP response headers (array of strings)
initiateContactVerification()
Operation initiateContactVerification
public
initiateContactVerification(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, InitiateContactVerificationRequest $initiate_contact_verification_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Initiate Contact Verification
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $initiate_contact_verification_request : InitiateContactVerificationRequest
-
JSON containing all the fields required to Initiate Contact Verification. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of void, HTTP status code, HTTP response headers (array of strings)
initiateContactVerificationWithHttpInfo()
Operation initiateContactVerificationWithHttpInfo
public
initiateContactVerificationWithHttpInfo(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, InitiateContactVerificationRequest $initiate_contact_verification_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Initiate Contact Verification
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $initiate_contact_verification_request : InitiateContactVerificationRequest
-
JSON containing all the fields required to Initiate Contact Verification. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
linkCustomerContact()
Operation linkCustomerContact
public
linkCustomerContact(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, LinkCustomerContactRequest $link_customer_contact_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Link Customer Contact
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $link_customer_contact_request : LinkCustomerContactRequest
-
JSON containing all the fields required to link a contact to customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerContactResponse, HTTP status code, HTTP response headers (array of strings)
linkCustomerContactWithHttpInfo()
Operation linkCustomerContactWithHttpInfo
public
linkCustomerContactWithHttpInfo(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, LinkCustomerContactRequest $link_customer_contact_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Link Customer Contact
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $link_customer_contact_request : LinkCustomerContactRequest
-
JSON containing all the fields required to link a contact to customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerContactResponse, HTTP status code, HTTP response headers (array of strings)
retrieveCustomers()
Operation retrieveCustomers
public
retrieveCustomers(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor[, string $x_opay_headers = null ][, string $trace_id = null ][, string $page_size = null ][, string $customer_reference = null ][, string $ssn = null ][, string $email = null ][, string $account_number = null ]) : array<string|int, mixed>
Retrieve Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API, in EBPP. The value to be passed in the requestor field would depend on the requestor_type. If the requestor_type is "customer", the requestor should be set to ''guest''. If the requestor_type is "external_user", the requestor can be any unique identifier that the client may have for the external agent. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
- $page_size : string = null
-
The maximum number of objects returned in the query. (optional)
- $customer_reference : string = null
-
Unique ID assigned by the biller/client system for a given customer. (optional)
- $ssn : string = null
-
The SSN of the customer if the account holder is an individual or the tax ID, if the customer is a business. (optional)
- $email : string = null
-
This field contains the customer’s email address within EBPP. (optional)
- $account_number : string = null
-
Customer Account Number of the customer to get details of. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomersResponse, HTTP status code, HTTP response headers (array of strings)
retrieveCustomersWithHttpInfo()
Operation retrieveCustomersWithHttpInfo
public
retrieveCustomersWithHttpInfo(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor[, string $x_opay_headers = null ][, string $trace_id = null ][, string $page_size = null ][, string $customer_reference = null ][, string $ssn = null ][, string $email = null ][, string $account_number = null ]) : array<string|int, mixed>
Retrieve Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API, in EBPP. The value to be passed in the requestor field would depend on the requestor_type. If the requestor_type is "customer", the requestor should be set to ''guest''. If the requestor_type is "external_user", the requestor can be any unique identifier that the client may have for the external agent. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
- $page_size : string = null
-
The maximum number of objects returned in the query. (optional)
- $customer_reference : string = null
-
Unique ID assigned by the biller/client system for a given customer. (optional)
- $ssn : string = null
-
The SSN of the customer if the account holder is an individual or the tax ID, if the customer is a business. (optional)
- $email : string = null
-
This field contains the customer’s email address within EBPP. (optional)
- $account_number : string = null
-
Customer Account Number of the customer to get details of. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomersResponse, HTTP status code, HTTP response headers (array of strings)
unlinkCustomerContact()
Operation unlinkCustomerContact
public
unlinkCustomerContact(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, UnlinkCustomerContactRequest $unlink_customer_contact_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Unlink Customer Contact
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $unlink_customer_contact_request : UnlinkCustomerContactRequest
-
JSON containing all the fields required to unlink a contact from the customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of void, HTTP status code, HTTP response headers (array of strings)
unlinkCustomerContactWithHttpInfo()
Operation unlinkCustomerContactWithHttpInfo
public
unlinkCustomerContactWithHttpInfo(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, UnlinkCustomerContactRequest $unlink_customer_contact_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Unlink Customer Contact
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $unlink_customer_contact_request : UnlinkCustomerContactRequest
-
JSON containing all the fields required to unlink a contact from the customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
updateCustomer()
Operation updateCustomer
public
updateCustomer(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, string $id_customer, UpdateCustomerRequest $update_customer_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Update Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $id_customer : string
-
The unique identifier assigned by EBPP to the customer. (required)
- $update_customer_request : UpdateCustomerRequest
-
JSON containing all the attributes of the customer to be updated. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerResponse, HTTP status code, HTTP response headers (array of strings)
updateCustomerWithHttpInfo()
Operation updateCustomerWithHttpInfo
public
updateCustomerWithHttpInfo(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, string $id_customer, UpdateCustomerRequest $update_customer_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Update Customer
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $id_customer : string
-
The unique identifier assigned by EBPP to the customer. (required)
- $update_customer_request : UpdateCustomerRequest
-
JSON containing all the attributes of the customer to be updated. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —of \Orbipay\PaymentsApi\Client\Model\CustomerResponse, HTTP status code, HTTP response headers (array of strings)
createCustomerRequest()
Create request for operation 'createCustomer'
protected
createCustomerRequest(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, CreateCustomerRequest $create_customer_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API, in EBPP. The value to be passed in the requestor field would depend on the requestor_type. If the requestor_type is "customer", the requestor should be “guest”. This is typically used in the case of self registration, where there is no EBPP generated customer id yet. If the requestor_type is "external_user", the requestor can be any unique identifier that the client may have for the external agent. (required)
- $create_customer_request : CreateCustomerRequest
-
The JSON that contains all the attributes of customer to be created. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —createHttpClientOption()
Create http client option
protected
createHttpClientOption() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —of http client options
getCustomerRequest()
Create request for operation 'getCustomer'
protected
getCustomerRequest(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, string $id_customer[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $id_customer : string
-
The unique identifier assigned by EBPP to the customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —initiateContactVerificationRequest()
Create request for operation 'initiateContactVerification'
protected
initiateContactVerificationRequest(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, InitiateContactVerificationRequest $initiate_contact_verification_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $initiate_contact_verification_request : InitiateContactVerificationRequest
-
JSON containing all the fields required to Initiate Contact Verification. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —linkCustomerContactRequest()
Create request for operation 'linkCustomerContact'
protected
linkCustomerContactRequest(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, LinkCustomerContactRequest $link_customer_contact_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $link_customer_contact_request : LinkCustomerContactRequest
-
JSON containing all the fields required to link a contact to customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —retrieveCustomersRequest()
Create request for operation 'retrieveCustomers'
protected
retrieveCustomersRequest(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor[, string $x_opay_headers = null ][, string $trace_id = null ][, string $page_size = null ][, string $customer_reference = null ][, string $ssn = null ][, string $email = null ][, string $account_number = null ]) : array<string|int, mixed>
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API, in EBPP. The value to be passed in the requestor field would depend on the requestor_type. If the requestor_type is "customer", the requestor should be set to ''guest''. If the requestor_type is "external_user", the requestor can be any unique identifier that the client may have for the external agent. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
- $page_size : string = null
-
The maximum number of objects returned in the query. (optional)
- $customer_reference : string = null
-
Unique ID assigned by the biller/client system for a given customer. (optional)
- $ssn : string = null
-
The SSN of the customer if the account holder is an individual or the tax ID, if the customer is a business. (optional)
- $email : string = null
-
This field contains the customer’s email address within EBPP. (optional)
- $account_number : string = null
-
Customer Account Number of the customer to get details of. (optional)
Tags
Return values
array<string|int, mixed> —unlinkCustomerContactRequest()
Create request for operation 'unlinkCustomerContact'
protected
unlinkCustomerContactRequest(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, UnlinkCustomerContactRequest $unlink_customer_contact_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $unlink_customer_contact_request : UnlinkCustomerContactRequest
-
JSON containing all the fields required to unlink a contact from the customer. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)
Tags
Return values
array<string|int, mixed> —updateCustomerRequest()
Create request for operation 'updateCustomer'
protected
updateCustomerRequest(string $channel, string $client_key, string $product, string $timestamp, string $idempotent_request_key, string $requestor_type, string $requestor, string $id_customer, UpdateCustomerRequest $update_customer_request[, string $x_opay_headers = null ][, string $trace_id = null ]) : array<string|int, mixed>
Parameters
- $channel : string
-
The channel through which the API is invoked. (required)
- $client_key : string
-
The unique identifier assigned by EBPP to the client. (required)
- $product : string
-
The product identifier corresponding to the API. (required)
- $timestamp : string
-
The timestamp for the moment when the API request is created. (required)
- $idempotent_request_key : string
-
The unique token that clients can generate and maintain in order to identify an API request. (required)
- $requestor_type : string
-
Type of the requestor of the API. (required)
- $requestor : string
-
The identifier for the requestor of the API. (required)
- $id_customer : string
-
The unique identifier assigned by EBPP to the customer. (required)
- $update_customer_request : UpdateCustomerRequest
-
JSON containing all the attributes of the customer to be updated. (required)
- $x_opay_headers : string = null
-
Intended for the future use. (optional)
- $trace_id : string = null
-
The unique reference that can be used for tracing and debugging an API call. (optional)