Create international payment
documentedSubmit an international payment in the OB framework.
POST /payments/internationalPaymentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://sandbox-oba.revolut.com/international-payments" \
-X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'x-fapi-financial-id: {{REVOLUT_FAPI_FINANCIAL_ID}}' \
-H 'x-fapi-customer-last-logged-time: {{$logged_time}}' \
-H 'x-fapi-customer-ip-address: {{$customer_ip}}' \
-H 'x-idempotency-key: {{$idempotency_key}}' \
-H 'x-jws-signature: {{REVOLUT_JWS_SIGNATURE}}' \
-H 'x-customer-user-agent: {{$user_agent}}' \
--cert "{{$transport_pem_path}}" --key "{{$transport_key_path}}" \
-d '{"Data": {"ConsentId": "{{$consent_id}}", "Initiation": {"InstructionIdentification": "{{$instruction_id}}", "EndToEndIdentification": "{{$end_to_end_id}}", "InstructedAmount": {"Amount": "{{$amount}}", "Currency": "{{$currency}}" }, "CreditorAccount": {"SchemeName": "{{$creditor_scheme}}", "Identification": "{{$creditor_identification}}", "Name": "{{$creditor_name}}" }, "RemittanceInformation": {"Unstructured": "{{$remittance}}"} }, "Risk": {"PaymentContextCode": "{{$payment_context_code}}", "MerchantCategoryCode": "{{$merchant_category_code}}", "MerchantCustomerIdentification": "{{$merchant_customer_id}}", "DeliveryAddress": {"AddressLine": ["{{$address_line}}"], "StreetName": "{{$street}}", "BuildingNumber": "{{$building}}", "PostCode": "{{$postcode}}", "TownName": "{{$town}}", "Country": "{{$country}}"} } } }'"