Skip to content

Support for multiple RPs in the Payment Request API for SPC #310

Description

@fahads9

Presently, Payment Request supports multiple credentialIDs tied to a single RP. However, there could be multiple trusted RPs for a given payment card - Issuer, Network, PSP, Merchant (etc.). As such, it'd be great if we could explore the possibility of supporting multiple RPs in the Payment Request API for SPC.

For better security, it may be apt to only allow a combination of credentialId's and rpId's.

For example:

[
{
rpId: 'www.issuer.com',
credentialIds: [base64ToArray("M1NrOF7hN4+WZOO2+uSz6VLtXm59OaEEzfglijzldNk="), base64ToArray("5eCuzI40QZ54d88A1NjTay8uvdCfSeSPI9XRLOvPMOk=")]
}
{
rpId: 'www.network.com',
credentialIds: [base64ToArray("M1NrOF7hN4+WZOO2+uSz6VLtXm59OaEEzfglijzldNk="), base64ToArray("5eCuzI40QZ54d88A1NjTay8uvdCfSeSPI9XRLOvPMOk=")]
}
]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions