post https://example.com/v/bankaccounts//payment
BODY Content.
{
"senderEmail":"email", // email of a mybanx registered user.
"counterpartyIBAN":"FR26...", // valid IBAN of the counterparty.
"amount":2.00, // Amount
"counterpartName":"EXTHAND SA", // Counterparty name
"currency":"EUR", // Currency, might be EUR, USD, GBP
"remittanceStructuredRef":null, // Structured communication
"remittanceUnstructured":"Rent of May 2024", // Unstructured communication
"dateExecution":null, // date at which the payment must be executed by the bank.
"end2EndId":"20240522-001", // ID of the End to End property.
"isInstant":true, // Force instant payment if possible
"redirectURL":"http://localhost:62475/payment/finalizedAPI" // Your callback URL to retrieve the payment status once signed on the bank side.
}
Answer.
public class PaymentResponse
{
public Guid id { get; set; }
public string? url { get; set; }
}
id being the unique identifier of the payment in mybanx and url the URL your have to call to start executing the process.