# Get a payment link (/api-reference/payment-links/payment-links-get) > Reads one payment link of the key's merchant. Answers 404 for a link of another merchant, the same answer as for a link that does not exist. Requires the `payment-links:read` scope. `GET https://gateway.mps-emi.com/api/payments/payment-links/{id}` ```json { "tags": [ "Payment links" ], "summary": "Get a payment link", "description": "Reads one payment link of the key's merchant. Answers 404 for a link of another merchant, the same answer as for a link that does not exist.\n\nRequires the `payment-links:read` scope.", "operationId": "payment-links-get", "parameters": [ { "name": "x-wallet-number", "in": "header", "description": "Only with a partner key, on every call: the wallet of the merchant this call acts for, such as BE0000000000. A test key or a merchant key acts for its own wallet and ignores it.", "schema": { "type": "string" } }, { "name": "id", "in": "path", "description": "The link's id, exactly as create returned it. An opaque string: never parse it.", "required": true, "schema": { "type": "string" }, "examples": { "default": { "value": "k3Qz9aVbN2xR7wYc1dFgHw" } } } ], "responses": { "200": { "description": "Success.", "headers": { "traceparent": { "description": "The call's W3C trace: 00-{trace id}-{span id}-{flags}. Sent on every answer, a success or a refusal without a body included. Quote it when you contact MPS about the call; its trace id is the one in a problem's traceId.", "schema": { "type": "string" }, "examples": { "default": { "value": "00-a27c57cb2b3e4f5d8c9a0b1c2d3e4f50-1a2b3c4d5e6f7a8b-01" } } } }, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ResponsePayloadOfApiPaymentLinkResponse" } } } }, "401": { "description": "No API key, or a wrong, malformed or revoked one: no body.", "headers": { "WWW-Authenticate": { "description": "Bearer error=\"invalid_token\".", "schema": { "type": "string" } }, "traceparent": { "description": "The call's W3C trace: 00-{trace id}-{span id}-{flags}. Sent on every answer, a success or a refusal without a body included. Quote it when you contact MPS about the call; its trace id is the one in a problem's traceId.", "schema": { "type": "string" }, "examples": { "default": { "value": "00-a27c57cb2b3e4f5d8c9a0b1c2d3e4f50-1a2b3c4d5e6f7a8b-01" } } } } }, "403": { "description": "The key does not carry the payment-links:read scope, or a partner key sent no x-wallet-number: no body. x-wallet-number names a wallet the key does not cover: the body below, error invalid_request.", "headers": { "traceparent": { "description": "The call's W3C trace: 00-{trace id}-{span id}-{flags}. Sent on every answer, a success or a refusal without a body included. Quote it when you contact MPS about the call; its trace id is the one in a problem's traceId.", "schema": { "type": "string" }, "examples": { "default": { "value": "00-a27c57cb2b3e4f5d8c9a0b1c2d3e4f50-1a2b3c4d5e6f7a8b-01" } } } }, "content": { "application/json": { "schema": { "required": [ "error", "error_description" ], "type": "object", "properties": { "error": { "type": "string", "description": "invalid_request." }, "error_description": { "type": "string", "description": "Why the wallet was refused, for a person." } }, "examples": [ { "error": "invalid_request", "error_description": "The requested wallet is not covered by this key's account." } ] } } } }, "404": { "description": "Not Found", "headers": { "traceparent": { "description": "The call's W3C trace: 00-{trace id}-{span id}-{flags}. Sent on every answer, a success or a refusal without a body included. Quote it when you contact MPS about the call; its trace id is the one in a problem's traceId.", "schema": { "type": "string" }, "examples": { "default": { "value": "00-a27c57cb2b3e4f5d8c9a0b1c2d3e4f50-1a2b3c4d5e6f7a8b-01" } } } } }, "429": { "description": "Over the 100 requests a minute per API key, shared by every endpoint, or more than 10 failed API keys a minute from your address: no body. Wait the number of seconds in Retry-After, then retry.", "headers": { "Retry-After": { "description": "Seconds to wait before retrying.", "schema": { "type": "integer" } }, "traceparent": { "description": "The call's W3C trace: 00-{trace id}-{span id}-{flags}. Sent on every answer, a success or a refusal without a body included. Quote it when you contact MPS about the call; its trace id is the one in a problem's traceId.", "schema": { "type": "string" }, "examples": { "default": { "value": "00-a27c57cb2b3e4f5d8c9a0b1c2d3e4f50-1a2b3c4d5e6f7a8b-01" } } } } }, "500": { "description": "A problem on our side, as a problem document with the traceId to quote to MPS. Other 5xx answers can carry no body. Retry a read with backoff; retry a create or refund only with the same Idempotency-Key.", "headers": { "traceparent": { "description": "The call's W3C trace: 00-{trace id}-{span id}-{flags}. Sent on every answer, a success or a refusal without a body included. Quote it when you contact MPS about the call; its trace id is the one in a problem's traceId.", "schema": { "type": "string" }, "examples": { "default": { "value": "00-a27c57cb2b3e4f5d8c9a0b1c2d3e4f50-1a2b3c4d5e6f7a8b-01" } } } }, "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/ServerProblem" } } } } }, "security": [ { "apiKey": [] } ] } ``` Schemas referenced as `#/components/schemas/…` are defined in the full document at /openapi.json.