curl -L -X POST 'https://oba-auth.revolut.com/domestic-payments' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-jws-signature: <API_KEY_VALUE>' \
-H 'Authorization: Bearer <yourSecretApiKey>' \
--data-raw '{
"Data": {
"ConsentId": "ec62477b-xxxx-41e2-xxxx-4d760c425a3e",
"Initiation": {
"InstructionIdentification": "ID412",
"EndToEndIdentification": "E2E123",
"InstructedAmount": {
"Amount": "10.0",
"Currency": "GBP"
},
"CreditorAccount": {
"SchemeName": "UK.OBIE.SortCodeAccountNumber",
"Identification": "11223321325698",
"Name": "Receiver Co."
},
"RemittanceInformation": {
"Unstructured": "Shipment fee"
}
}
},
"Risk": {
"PaymentContextCode": "EcommerceGoods",
"MerchantCategoryCode": "5967",
"MerchantCustomerIdentification": "1238808123123",
"DeliveryAddress": {
"AddressLine": [
"7"
],
"StreetName": "Apple Street",
"BuildingNumber": "1",
"PostCode": "E2 7AA",
"TownName": "London",
"Country": "UK"
}
}
}'