Sign in

Create domestic payment

documented

Submit a domestic payment in the OB framework.

POST /payments/domesticPaymentsno implementation yet0 runs
No 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://oba-auth.revolut.com/domestic-payments" \
  -X POST \
  -H "x-fapi-financial-id: 001580000103UAvAAM" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "x-idempotency-key: {{$idempotency_key}}" \
  -H "x-jws-signature: {{$signature}}" \
  -H "x-fapi-customer-last-logged-time: {{$last_logged_time}}" \
  -H "x-fapi-customer-ip-address: {{$ip_address}}" \
  -H "x-fapi-interaction-id: {{$interaction_id}}" \
  -d '{
  "Data": {
    "ConsentId": "{{$consent_id}}",
    "Initiation": {
      "InstructionIdentification": "{{$instruction_id}}",
      "EndToEndIdentification": "{{$end_to_end_identification}}",
      "InstructedAmount": {
        "Amount": "{{$amount}}",
        "Currency": "{{$currency}}"
      },
      "CreditorAccount": {
        "SchemeName": "UK.OBIE.SortCodeAccountNumber",
        "Identification": "{{$creditor_identification}}",
        "Name": "{{$creditor_name}}"
      },
      "RemittanceInformation": {
        "Unstructured": "{{$remittance}}"
      }
    }
  },
  "Risk": {
    "PaymentContextCode": "{{$payment_context}}",
    "MerchantCategoryCode": "{{$merchant_code}}",
    "MerchantCustomerIdentification": "{{$merchant_customer_id}}",
    "DeliveryAddress": {
      "AddressLine": ["{{$addr_line}}"],
      "StreetName": "{{$street_name}}",
      "BuildingNumber": "{{$building_number}}",
      "PostCode": "{{$post_code}}",
      "TownName": "{{$town}}",
      "Country": "{{$country}}"
    }
  }
}' } 
Create domestic payment · Revolut · OpenIntegrations