To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorConsume a billing resource
As a client application customer
I want to consume a billing resource
So that I can see the detailed content of the requested billing
- Background
-
- Given
- I use a valid token which authorizes access to the "Checkout::V2::BillingResource" scope
- And
- I authenticate as the following proxy user "johndoe"
- And
-
the following billings exist
ID plan gateway status 1 subscription-package argus ok 2 subscription-package argus rejected 3 subscription-package argus pending
- Scenarios
-
- Get a single billing
-
- When
- I send a GET request for "checkout/2.0/billings/ID"
- Then
- the response status should be "200"
- And
- the response should be a JSON API resource of type "billings"
- And
- the resource should have an attribute "plan" that displays "plan"
- And
- the resource should have an attribute "gateway" that displays "gateway"
- And
- the resource should have an attribute "status" that displays "status"
Examples: ID plan gateway status 1 subscription-package argus ok 2 subscription-package argus rejected 3 subscription-package argus pending
Last published about 5 years ago by Donaldo.