MomoapiElixir.Collection.request_to_pay

You're seeing just the function request_to_pay, go back to MomoapiElixir.Collection module for more information.

This operation is used to request a payment from a consumer (Payer). The payer will be asked to authorize the payment. The transaction will be executed once the payer has authorized the payment. The requesttopay will be in status PENDING until the transaction is authorized or declined by the payer or it is timed out by the system. Status of the transaction can be validated by using the GET /requesttopay/<resourceId>

%{ amount: "50", currency: "EUR", externalId: "123456", payer: %{

partyIdType: "MSISDN",
partyId: "46733123450"

}, payerMessage: "testing", payeeNote: "hello" }