POST
/
apple-pay-certificates
curl --request POST \
  --url https://api.{gr4vy_id}.gr4vy.app/apple-pay-certificates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "display_name": "iPad App v2"
}'
{
  "type": "apple-pay-certificate",
  "id": "c81bdcfd-00c2-4897-b220-06ff0e95685a",
  "display_name": "iPad App v2",
  "status": "incomplete",
  "apple_merchant_id": null,
  "public_key_hash": null,
  "certificate_signing_request": "-----BEGIN CERTIFICATE REQUEST-----\\nMIHTMHsCAQAwGTEXMBUG\nA1UEAwwOc3BpZGVyLnNhbmRib3gwWTATBgcqhkjOPQIB\\nBggqhkjOPQM\nBBwNCAAQZgRE56Evtf6f9fD4Hn1zOMwyrgXU4CQXuyPXoIjiMwKXE\\nV/\nHx9NX7vZbOSXhyzPaU/b6HdLMfx2+UP/GZ48jYoAAwCgYIKoZIzj0EAwI\nDSAAw\\nRQIgPhcfepIaX9s8E8WI/T+GEUqwuYIoVUQV+F8KlaYGukACIQ\nCLeLocEFWFYPHN\\n+QsLoyXvbbqmEjSPB4vQKmXQZ8I2DA==\\n-----EN\nD CERTIFICATE REQUEST-----\\n",
  "expires_at": null,
  "created_at": "2022-12-12T10:53:43+00:00",
  "updated_at": "2022-12-12T10:53:43+00:00"
}

This endpoint requires the apple-pay-certificates.write scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

A request to start the registration of a new Apple Pay payment processing certificate.

Response

201
application/json
Returns the Apple Pay certificate record that was added.

An Apple Pay certificate record.