Example PAY Token
Header
{
"kid": "FgT4q8c5IqbBCCjcho5JdeGQvuK1keMDFc9IwCm8J7Y", // JWK Key ID
"alg": "ES256",
"typ": "pay+jwt"
}Payload
{
"iss": "https://example.net/pay_token_issuer", // Issuer URL
"iat": 1742245254,
"exp": 1773867654,
"jti": "b9821893-7699-4d24-af06-803a6a16476b",
"sub": "8b810549-7443-494f-b4ad-5bc65871e32b", // Buyer Agent Account ID
"aud": "37888095-2721-48d9-a2df-bfe4075f223a", // Seller Agent Account ID
"env": "sandbox",
"ssi": "274efc47-024e-466f-b278-152d2ee73955", // Seller Service ID
"btg": "16c135ce-a99a-453d-a7b5-4958fd91de5f", // Buyer Tag (Internal Reference ID)
"spr": "0.01",
"sps": "pay_per_use",
"amt": "15",
"cur": "USD",
"val": "15000000",
"mnr": 1600,
"stp": "card",
"sti": {
"type": "visa_vic",
"paymentToken": "1234567890123456",
"tokenExpirationMonth": "03",
"tokenExpirationYear": "2030",
"tokenSecurityCode": "123",
"verifier": "https://verifier.example.info", // URL of payment method verifier
"verified": true, // Outcome of the verifier's payment method verification
"verification_id": "3a6e1b76-8f78-4c24-b1bd-dc78a8cc3711" // Identifier for the verification performed, such as a GUID.
}
}Note
See Create Agent's Service for valid values for the sps claim (priceModel)
- If the Seller Service Pricing Model (
spsclaim) iscustom, then thesprandmnrclaims are omitted
Updated about 23 hours ago
