Create out payment
Changed onGet your strong authentication RSA private key from Easypay Backoffice on menu:</br>Web Services->Configuration API 2.0->Keys.</br></br> A transfer out payment starts as pending and waits for the bank. We send you the out_payment generic notification once the bank answers, usually a day or more later. It comes with status success when the transfer was executed, or failed with the bank's reason in messages when it was rejected. If we can't create the transfer at all, you get the failed notification right away.
Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">out_payment:create</code>
Request
- Base URLhttps://api.test.easypay.pt/2.0
- AuthAPI key in header AccountId and API key in header ApiKey and API key in header Signature
Request body
The Customer object contains the necessary details about the customer involved in the transaction. This includes identification information, contact details, and preferences. All fields are optional unless specified otherwise.
Merchant identification key
Value will be rounded to 2 decimals
Optional - only applicable to method transfer
Scheduled date and time to execute the payment, in YYYY-MM-DD HH:MM format (UTC, no timezone suffix).
Description for the out payment.
Unix timestamp UTC, must be no more than 1 minute before or after real time, if not the strong authentication signature will not be valid
Example request
{
"customer": {
"id": "649e88cf-0b78-4c36-8f99-33f5ebb812a1",
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "911234567",
"phone_indicative": "+351",
"fiscal_number": "PT123456789",
"key": "customer Key Example",
"language": "PT"
},
"schedule_at": "2026-04-24 16:25",
"method": "transfer"
}Response
Created
A unique identifier for the resource. While typically formatted as a UUID (Universally Unique Identifier), it can also be in other formats as defined by the user. This field ensures the resource can be distinctly recognized and referenced.
Customer associated with the out payment.
Destination SEPA bank account for the out payment.
Example response
{
"status": "ok",
"message": [
"Your request was successfully created"
],
"method": {
"status": "pending"
}
}Changes
- warning
added the new
failedenum value to themethod/statusresponse property for the response status
- warning