Create a destination

Changed on

Save bank instructions on a recipient. Use the returned destination id in the matching per-rail transfer create endpoint.

post/v2/destinations

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/destinations
  • Auth
    API key in header X-API-Key

Headers

X-Idempotency-Keystring required

Unique caller-generated key for one create request. Once an authenticated, schema-valid request reaches the operation, the key is permanently consumed for that operation and legal entity whether the operation succeeds or fails. Reusing it in that scope returns 409 and never replays a response, unlike API v1, which replays the original response for a matching key.

Request body

OR

Response

The created destination.

OR

Changes

    • breaking

      the / request property's maxLength was decreased to 127

    • breaking

      the / request property's maxLength was decreased to 127

    • breaking

      added the pattern ^[A-Za-z0-9 /?:().,'+-]*$ to the request property //

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • breaking

      added the pattern ^[A-Za-z0-9\s.?!,;:_@&/\\'"~()<>$#%+={}*|\[\]^-]*$ to the request property ///

    • warning

      the // request property's maxLength was set to 127

    • warning

      the // request property's maxLength was set to 31

    • warning

      the // request property's maxLength was set to 127

    • warning

      the // request property's maxLength was set to 127

    • warning

      the // request property's maxLength was set to 31

    • warning

      the / request property's maxLength was set to 63

    • warning

      the / request property's maxLength was set to 63

    • info

      endpoint added