FXP PSP Relationships
FXP will use the following APIs to list, add, update or delete business relationships with PSPs and set any price improvement (in bps) for a particular PSP.
Returns all PSP relationships for the given FXP, including the configured PSP-based improvement (if any) for each PSP. Results are cursor-paginated.
- : Read FXP–PSP relationship records.
Nexus issued X.509 client certificate presented during the TLS handshake and validated at the Akamai global edge. The FXP generates its own key pair and submits a CSR during onboarding; Vault PKI (edge intermediate CA) signs it and the private key never leaves FXP infrastructure. Fail closed: a missing, expired, revoked or untrusted certificate causes the TLS handshake to fail at the edge and no HTTP response is produced. The certificate is not forwarded to the origin as an HTTP header.
OAuth2 client credentials token issued per participant.
Nexus internal identifier for the FXP.
FXP-AMax items to return. Default 50.
50Example: 50Pagination cursor; omit for first page.
eyJwayI6Li4ufQ==application/json
application/jsonExample: application/jsonRelationships retrieved successfully.
Paginated list of FXP–PSP relationship records.
Opaque cursor for the next page. Null if this is the last page.
eyJwayI6Li4ufQ==Invalid Request
Authentication Failure
Authorization Failure
FXP Not Found
Method Not Allowed. The HTTP method is not supported for this endpoint. Use the correct HTTP method.
Too Many Requests. Rate limit exceeded. The Retry-After header indicates when to retry. Back off and retry after the indicated duration.
Internal Server Error
Bad Gateway. The gateway received an invalid response from the upstream service. Retry with exponential backoff. If persistent, escalate.
Service Unavailable. The upstream service is temporarily unavailable, for example during rolling deployment. Retry with exponential backoff.
Gateway Timeout. The upstream service did not respond within the gateway's timeout window. Retry with exponential backoff.
GET /v1/relationships/fxps/{fxpId}/psps HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: application/json
{
"items": [
{
"relationshipId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fxpId": "FXP-A",
"pspId": "PSP-C",
"pspImprovementBps": 25,
"createdDateTime": "2024-09-15T08:30:00Z",
"updatedDateTime": "2024-10-01T12:00:00Z"
}
],
"cursor": "eyJwayI6Li4ufQ=="
}Returns a single FXP–PSP relationship, including the PSP-based improvement (if configured).
- : Read FXP–PSP relationship records.
Nexus issued X.509 client certificate presented during the TLS handshake and validated at the Akamai global edge. The FXP generates its own key pair and submits a CSR during onboarding; Vault PKI (edge intermediate CA) signs it and the private key never leaves FXP infrastructure. Fail closed: a missing, expired, revoked or untrusted certificate causes the TLS handshake to fail at the edge and no HTTP response is produced. The certificate is not forwarded to the origin as an HTTP header.
OAuth2 client credentials token issued per participant.
Nexus internal identifier for the FXP.
FXP-ANexus internal identifier for the PSP.
PSP-Capplication/json
application/jsonExample: application/jsonRelationship retrieved successfully.
A single FXP–PSP relationship record.
Nexus-assigned unique identifier for this relationship record.
a1b2c3d4-e5f6-7890-abcd-ef1234567890Nexus internal identifier for the FXP.
FXP-ANexus internal identifier for the PSP.
PSP-CPSP-based improvement in basis points. Null if no improvement is configured.
25ISO 8601 UTC timestamp when this relationship was created.
2024-09-15T08:30:00ZISO 8601 UTC timestamp of the last update. Null if never updated.
2024-10-01T12:00:00ZInvalid Request
Authentication Failure
Authorization Failure
Relationship Not Found
Method Not Allowed. The HTTP method is not supported for this endpoint. Use the correct HTTP method.
Too Many Requests. Rate limit exceeded. The Retry-After header indicates when to retry. Back off and retry after the indicated duration.
Internal Server Error
Bad Gateway. The gateway received an invalid response from the upstream service. Retry with exponential backoff. If persistent, escalate.
Service Unavailable. The upstream service is temporarily unavailable, for example during rolling deployment. Retry with exponential backoff.
Gateway Timeout. The upstream service did not respond within the gateway's timeout window. Retry with exponential backoff.
GET /v1/relationships/fxps/{fxpId}/psps/{pspId} HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: application/json
{
"relationshipId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fxpId": "FXP-A",
"pspId": "PSP-C",
"pspImprovementBps": 25,
"createdDateTime": "2024-09-15T08:30:00Z",
"updatedDateTime": "2024-10-01T12:00:00Z"
}Creates an FXP–PSP relationship, recording that the FXP is eligible to provide FX quotes to the specified PSP. Optionally configures a PSP-based improvement in basis points. The improvement applies to all currencies for this PSP.
- : Create, update, or delete FXP–PSP relationship records.
Nexus issued X.509 client certificate presented during the TLS handshake and validated at the Akamai global edge. The FXP generates its own key pair and submits a CSR during onboarding; Vault PKI (edge intermediate CA) signs it and the private key never leaves FXP infrastructure. Fail closed: a missing, expired, revoked or untrusted certificate causes the TLS handshake to fail at the edge and no HTTP response is produced. The certificate is not forwarded to the origin as an HTTP header.
OAuth2 client credentials token issued per participant.
Nexus internal identifier for the FXP.
FXP-ANexus internal identifier for the PSP.
PSP-Capplication/json
application/jsonExample: application/jsonRequest body for creating an FXP–PSP relationship. pspImprovementBps is optional.
PSP-based improvement in basis points. Omit to apply the FXP base rate without improvement to this PSP.
25Relationship created successfully. Returns the new relationship record.
A single FXP–PSP relationship record.
Nexus-assigned unique identifier for this relationship record.
a1b2c3d4-e5f6-7890-abcd-ef1234567890Nexus internal identifier for the FXP.
FXP-ANexus internal identifier for the PSP.
PSP-CPSP-based improvement in basis points. Null if no improvement is configured.
25ISO 8601 UTC timestamp when this relationship was created.
2024-09-15T08:30:00ZISO 8601 UTC timestamp of the last update. Null if never updated.
2024-10-01T12:00:00ZInvalid Request
Authentication Failure
Authorization Failure
Method Not Allowed. The HTTP method is not supported for this endpoint. Use the correct HTTP method.
Conflict. A relationship already exists for this FXP and PSP.
Too Many Requests. Rate limit exceeded. The Retry-After header indicates when to retry. Back off and retry after the indicated duration.
Internal Server Error
Bad Gateway. The gateway received an invalid response from the upstream service. Retry with exponential backoff. If persistent, escalate.
Service Unavailable. The upstream service is temporarily unavailable, for example during rolling deployment. Retry with exponential backoff.
Gateway Timeout. The upstream service did not respond within the gateway's timeout window. Retry with exponential backoff.
POST /v1/relationships/fxps/{fxpId}/psps/{pspId} HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: application/json
Content-Type: application/json
Content-Length: 24
{
"pspImprovementBps": 25
}{
"relationshipId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fxpId": "FXP-A",
"pspId": "PSP-C",
"pspImprovementBps": 25,
"createdDateTime": "2024-09-15T08:30:00Z",
"updatedDateTime": "2024-10-01T12:00:00Z"
}Updates an existing FXP–PSP relationship. Replaces the configured PSP-based improvement in basis points. Set pspImprovementBps to 0 to remove the improvement so the FXP's base rate applies.
- : Create, update, or delete FXP–PSP relationship records.
Nexus issued X.509 client certificate presented during the TLS handshake and validated at the Akamai global edge. The FXP generates its own key pair and submits a CSR during onboarding; Vault PKI (edge intermediate CA) signs it and the private key never leaves FXP infrastructure. Fail closed: a missing, expired, revoked or untrusted certificate causes the TLS handshake to fail at the edge and no HTTP response is produced. The certificate is not forwarded to the origin as an HTTP header.
OAuth2 client credentials token issued per participant.
Nexus internal identifier for the FXP.
FXP-ANexus internal identifier for the PSP.
PSP-Capplication/json
application/jsonExample: application/jsonRequest body for updating an FXP–PSP relationship improvement.
Updated PSP-based improvement in basis points. Set to 0 to remove the improvement so the base rate applies.
50Relationship updated successfully. Returns the updated relationship record.
A single FXP–PSP relationship record.
Nexus-assigned unique identifier for this relationship record.
a1b2c3d4-e5f6-7890-abcd-ef1234567890Nexus internal identifier for the FXP.
FXP-ANexus internal identifier for the PSP.
PSP-CPSP-based improvement in basis points. Null if no improvement is configured.
25ISO 8601 UTC timestamp when this relationship was created.
2024-09-15T08:30:00ZISO 8601 UTC timestamp of the last update. Null if never updated.
2024-10-01T12:00:00ZInvalid Request
Authentication Failure
Authorization Failure
Relationship Not Found
Method Not Allowed. The HTTP method is not supported for this endpoint. Use the correct HTTP method.
Too Many Requests. Rate limit exceeded. The Retry-After header indicates when to retry. Back off and retry after the indicated duration.
Internal Server Error
Bad Gateway. The gateway received an invalid response from the upstream service. Retry with exponential backoff. If persistent, escalate.
Service Unavailable. The upstream service is temporarily unavailable, for example during rolling deployment. Retry with exponential backoff.
Gateway Timeout. The upstream service did not respond within the gateway's timeout window. Retry with exponential backoff.
PUT /v1/relationships/fxps/{fxpId}/psps/{pspId} HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: application/json
Content-Type: application/json
Content-Length: 24
{
"pspImprovementBps": 50
}{
"relationshipId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fxpId": "FXP-A",
"pspId": "PSP-C",
"pspImprovementBps": 25,
"createdDateTime": "2024-09-15T08:30:00Z",
"updatedDateTime": "2024-10-01T12:00:00Z"
}Deletes the FXP–PSP relationship so the FXP is no longer eligible to provide quotes to that PSP. Returns 204 No Content on success.
- : Create, update, or delete FXP–PSP relationship records.
Nexus issued X.509 client certificate presented during the TLS handshake and validated at the Akamai global edge. The FXP generates its own key pair and submits a CSR during onboarding; Vault PKI (edge intermediate CA) signs it and the private key never leaves FXP infrastructure. Fail closed: a missing, expired, revoked or untrusted certificate causes the TLS handshake to fail at the edge and no HTTP response is produced. The certificate is not forwarded to the origin as an HTTP header.
OAuth2 client credentials token issued per participant.
Nexus internal identifier for the FXP.
FXP-ANexus internal identifier for the PSP.
PSP-CRelationship deleted successfully. No content returned.
No content
Invalid Request
Authentication Failure
Authorization Failure
Relationship Not Found
Method Not Allowed. The HTTP method is not supported for this endpoint. Use the correct HTTP method.
Too Many Requests. Rate limit exceeded. The Retry-After header indicates when to retry. Back off and retry after the indicated duration.
Internal Server Error
Bad Gateway. The gateway received an invalid response from the upstream service. Retry with exponential backoff. If persistent, escalate.
Service Unavailable. The upstream service is temporarily unavailable, for example during rolling deployment. Retry with exponential backoff.
Gateway Timeout. The upstream service did not respond within the gateway's timeout window. Retry with exponential backoff.
DELETE /v1/relationships/fxps/{fxpId}/psps/{pspId} HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Last updated
