View Source ExXendit.EWallet (ExXendit v0.1.4)

Handles functions at https://developers.xendit.co/api-reference/#ewallets

Summary

Functions

Creates an e-wallet charge.

Functions

Link to this function

create_charge(params, headers \\ %{})

View Source
@spec create_charge(map(), ExXendit.headers()) :: {:ok, Req.Response.t()}

Creates an e-wallet charge.

Body Parameters

  • :reference_id* - Reference ID provided by merchant (255 characters)

  • :currency* - Currency used for the transaction in ISO4217 format - IDR, PHP, VND, THB

  • :amount* - Transaction amount to be paid

    Min - 1,000 for ID_JENIUSPAY and 100 IDR for all other eWallets or 1 PHP Max - based on eWallet holding limit

  • :checkout_method* - Checkout method determines the payment flow used to process the transaction

    ONE_TIME_PAYMENT is used for single guest checkouts TOKENIZED_PAYMENT can be used for recurring payment

  • :channel_code* - Channel Code specifies which eWallet will be used to process the transaction - ID_OVO, ID_DANA, ID_LINKAJA, ID_SHOPEEPAY, ID_ASTRAPAY, ID_JENIUSPAY, ID_SAKUKU, PH_PAYMAYA, PH_GCASH, PH_GRABPAY, PH_SHOPEEPAY, VN_APPOTA, VN_MOMO, VN_SHOPEEPAY, VN_VNPTWALLET, VN_VIETTELPAY, VN_ZALOPAY, TH_WECHATPAY, TH_LINEPAY, TH_TRUEMONEY, TH_SHOPEEPAY

  • :channel_properties* - Channel specific information required for the transaction to be initiated