Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

PayoutRequest

pointOfSaleIdstring
Required
Format:
uuid
Example:
"0192473a-e381-705c-b61c-fc2ac9624afc"
amountinteger
Required
Range:
1 <= value
Example:
1000
currencystring
Required

ISO 4217 alpha-3 currency, e.g., “DKK”.

Match:
^[A-Z]{3}$
Example:
"DKK"
paymentMethodIdstring
Required

UUID of a stored payment method eligible for payouts.

Format:
uuid
Example:
"01924756-d1f6-738d-8040-90d76cedf01f"
referencestring
Example:
"payout-1"
textOnStatementstring
Length:
1 <= length <= 39
Example:
"Prize money"
Example:
[ "shift4", "clearhaus" ]
[index]Processor
Possible values:
"shift4""clearhaus""nets""worldline"
Example:
{ "key1": "value1", "key2": "value2" }
[key: string]unknown
firstNamestring
Required

Recipient name; used for compliance and risk.

Example:
"Morten"
lastNamestring
Required

Recipient name; used for compliance and risk.

Example:
"Thomassen"
ipstring
Required
Example:
"118.249.219.99"
birthdatestring
Nullable
Match:
^\d{4}-\d{2}-\d{2}$
Example:
"1970-01-01"
notificationUrlstring
Required
Format:
uri
PayoutRequest
{  "pointOfSaleId": "0192473a-e381-705c-b61c-fc2ac9624afc",  "amount": 1000,  "currency": "DKK",  "paymentMethodId": "01924756-d1f6-738d-8040-90d76cedf01f",  "reference": "payout-1",  "textOnStatement": "Prize money",  "processor": [    "shift4",    "clearhaus"  ],  "attributes": {    "key1": "value1",    "key2": "value2"  },  "customer": {    "firstName": "Morten",    "lastName": "Thomassen",    "ip": "118.249.219.99",    "birthdate": "1970-01-01"  },  "notificationUrl": "http://example.com"}