Skip to main content

Get Payin’s Required Fields

GET 

https://api.cleverhub.co/api/v2/payins/payin_method/params

Certain payment methods may require information to be collected from consumers. This API will provide all parameters potentially needed for a specific payin method. The returned parameters may be either optional or mandatory.

Request

Query Parameters

    payin_method_name stringrequired

    Payin Method Name (For e.g. ph_bank_maya_php)

Responses

OK

Schema
    record object
    currencystringrequired

    Currency Code (ISO 4217, 3-char alphabetic code).

    symbolstring

    Currency symbol.

    logostring

    Bank or e-wallet logo.

    payin_method_namestringrequired

    Payin method name.

    descriptionstringrequired

    Description payin method.

    payin_method_paramsobjectrequired

    Parameters needed for using a payin method. Each payin method may have different parameters, which can be either mandatory or optional.

    payment_typestringrequired

    Type of payment, incoming or outgoing.

    is_refundableboolean

    Refundable or not.

    min_amountnumberrequired

    The minimum allowable amount.

    max_amountnumberrequired

    The maximum allowable amount.

Authorization: app-id

name: app-idtype: apiKeydescription: The app-id is registered and secured inside Hello Clever system and only required when client has initiated or in the middle of the transaction.in: header
name: secret-keytype: apiKeydescription: The secret-key is our client's secret of the source. Required if a publishable key is used to retrieve the source.in: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.cleverhub.co/api/v2/payins/payin_method/params");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("app-id", "<app-id>");
request.Headers.Add("secret-key", "<app-id>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.cleverhub.co/api
Auth
Parameters
— queryrequired
ResponseClear

Click the Send API Request button above and see the response here!